Re: [PHP] Store PHP Code in MySQL?

2001-06-20 Thread Mukul Sabharwal
Hi, ? while($data = mysql_fetch_array($result)) { echo $data[text]; } eval($data['text']); ? That'll work :-) http://www.php.net/manual/en/html/function.eval.html read that for more information. = *

RE: [PHP] Store PHP Code in MySQL?

2001-06-20 Thread Ray Hilton
... Ray Hilton - [EMAIL PROTECTED] http://rayh.co.uk -Original Message- From: Joseph Koenig [mailto:[EMAIL PROTECTED]] Sent: 19 June 2001 23:23 To: [EMAIL PROTECTED] Subject: [PHP] Store PHP Code in MySQL? I've been playing a little bit trying to store some PHP code in MySQL and get

[PHP] Store PHP Code in MySQL?

2001-06-19 Thread Joseph Koenig
I've been playing a little bit trying to store some PHP code in MySQL and get it to execute. However, it behaves just like expected in that it just displays the code, and doesn't execute it. Essentially, i want to do this: ? while($data = mysql_fetch_array($result

Re: [PHP] Store PHP Code in MySQL?

2001-06-19 Thread J Smith
PROTECTED]">news:[EMAIL PROTECTED]... I've been playing a little bit trying to store some PHP code in MySQL and get it to execute. However, it behaves just like expected in that it just displays the code, and doesn't execute it. Essentially, i want to do this: ? while($data = mysql_fet

Re: [PHP] Store PHP Code in MySQL?

2001-06-19 Thread J Smith
PROTECTED]">news:[EMAIL PROTECTED]... I've been playing a little bit trying to store some PHP code in MySQL and get it to execute. However, it behaves just like expected in that it just displays the code, and doesn't execute it. Essentially, i want to do this: ? while($data = mysql_fet