Profile
Achievement
![first submission:submitting first snipplet first submission:submitting first snipplet](/img/badge/badge_2.png?v3)
![popular snippet:having a snipplet with 20 favorites popular snippet:having a snipplet with 20 favorites](/img/badge/badge_3.png?v3)
traeregan's Recent Snippets
« Prev 1 Next »
Credit: 'Jelmer' from CodeIgniter Forums
1. Create preferences.php in your application/config/ directory.
2. Add this to the controller that writes your config values to the database so that it will also write them to the preferences.php config...
2
839
posted 14 years ago by traeregan
From: Roberto Ierusalimschy
Parses the "main" part of an XML string. It does not handle meta-data. Outputs to a table.
Example:
myVar = collect( myXml )
-- myVar would be a table/array of myXml
2
1276
posted 15 years ago by traeregan