Jump to content


Issues with eval() bringing PHP from mysql

  • Please log in to reply
1 reply to this topic

#1 scrupul0us

  • Members
  • PipPipPip
  • Advanced Member
  • 43 posts

Posted 07 March 2006 - 03:18 AM

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 statement

now... i have found i can execute my statement that is stored:


if i do this:


BUT, if I just have text in row then eval doesn't output it.. its ignored...

how can i deal with this?

#2 Steveo31

  • Members
  • PipPip
  • Member
  • 25 posts
  • LocationSan Jose, CA

Posted 07 March 2006 - 06:24 AM

What kind of PHP code are you storing? If it's being ignored, then its becuase there's nothing to eval().

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users