Hey guys, i'm sure this has probably been answered a million times but i can't seem to find it on the board.
Part thats working:
I have a template script that connects to a database and pulls down code into a string. I've been able to make sure it comes down fine by echoing out the contents of the string.
Part thats not working:
I'm trying to evaluate that string as php so that it will output output more etc..
Inside my main script (the working part) its all pure php.
<?php
code
?>
Inside my stored scripts its all php also. I've tried using <?php ?> tags inside them also and it still does not work.
Here is how i am evaluating the code.
Eval ($result);
Am i doing something wrong? should i put <? and ?> tags in my stored code? Any help would be appreciated.