Using template tags with data coming from a database |
[eluser]JulianM[/eluser]
Thanks pistolPete. I needed something similar and was just thinking in create my MY_Parser until I saw this post [quote author="pistolPete" date="1235657288"]The template parser class ist the way to go, but it expects the view to be a local file. So you have to extend the parser class. The following code adds a method parse_string() to the parser class which allows you to parse a string coming from db. Code: class MY_Parser extends CI_Parser { |
Messages In This Thread |
Using template tags with data coming from a database - by El Forum - 02-26-2009, 12:15 AM
Using template tags with data coming from a database - by El Forum - 02-26-2009, 02:08 AM
Using template tags with data coming from a database - by El Forum - 07-07-2009, 01:47 PM
|