scrupul0us Posted March 7, 2006 Share Posted March 7, 2006 OK... heres my setup... in my mysql DB i have a table that holds data (go figure), in some cases, its just plain text, in others its a php statementnow... i have found i can execute my statement that is stored:[code]require("$incdir/dir.php");[/code]if i do this:[code]eval($row["tdata"]);[/code]BUT, if I just have text in row then eval doesn't output it.. its ignored...how can i deal with this? Quote Link to comment Share on other sites More sharing options...
Steveo31 Posted March 7, 2006 Share Posted March 7, 2006 What kind of PHP code are you storing? If it's being ignored, then its becuase there's nothing to eval(). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.