CodeIgniter Forums
PHP in a parser - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: PHP in a parser (/showthread.php?tid=40879)



PHP in a parser - El Forum - 04-21-2011

[eluser]kr1pt[/eluser]
Hello. I'm new to parsing, and I want to create this: Instead of:

<some html code>
&lt;?php echo $this->model->some_method($data); ?&gt;
</some html code>

I want to use:
<some html code>
{$this->model->some_method(data)}
</some html code>

Possible? If you understand what I mean.