Jump to content


Photo

Parsing code taken from mysql table


  • Please log in to reply
2 replies to this topic

#1 knowNothing

knowNothing
  • Members
  • PipPip
  • Member
  • 24 posts

Posted 08 September 2006 - 04:41 PM

Hello.  My first post... I tried searching for my answer first, and maybe I just don't know how to search very well but I'm looking for the function (if it is in fact a single function) that will allow me to parse PHP code after I've grabbed it from a mysql table.  I'm looking to store some PHP code inside a table and be able to query it out of the table and parse it whenever I want.  Not sure if I worded that correctly, as I'm pretty new to PHP in general.  I've seen it done before and at the time, I know that some extra code was required in order to do this, otherwise the code just would not get parsed...  Anyone know what I'm talking about?

#2 Jenk

Jenk
  • Members
  • PipPipPip
  • Advanced Member
  • 778 posts

Posted 08 September 2006 - 04:44 PM

eval()

#3 knowNothing

knowNothing
  • Members
  • PipPip
  • Member
  • 24 posts

Posted 08 September 2006 - 04:45 PM

eval()


Yes, darnit, thats it.  I love you.  Thanks.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users