Profile
Achievement
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
951
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
1407
posted 15 years ago by traeregan