Profile
Achievement
nielsenrc's Recent Snippets
- All /
« Prev 1 Next »
Basically, a simple way to use a templating system in
CodeIgniter. In your data array, add a view as the value for content. Pass that to the view, then print the $content variable in the view.
0
734
posted 12 years ago by nielsenrc
Get all page names and ids from the DB of pages with content containing '#'
0
776
posted 13 years ago by nielsenrc
Key for code below:
querystring = just the query string. (e.g. url=page)
index = the page that the query string is appended to (e.g. index.php)
domain.com = the domain and page you want to rewrite to
0
858
posted 13 years ago by nielsenrc