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
Eval($var); That should execute the code I've never tried this to be honest, you will have to let me know your findings. I was thinking of doing something like it in perl, so that you could have a small daemon running, and it connects to a master server and updates its own code somehow...

Re: [PHP] Store PHP Code in MySQL?

2001-06-19 Thread J Smith
Try looking at the eval() function. It's pretty similar to the eval keyword in perl. http://www.php.net/manual/en/function.eval.php J Smith code, dba and linux guy Tutorbuddy Inc. The Magic Lantern Group mailto:[EMAIL PROTECTED] Joseph Koenig [EMAIL PROTECTED] wrote in message [EMAIL

Re: [PHP] Store PHP Code in MySQL?

2001-06-19 Thread J Smith
Try looking at the eval() function. It's pretty similar to the eval keyword in perl. http://www.php.net/manual/en/function.eval.php J Smith code, dba and linux guy Tutorbuddy Inc. The Magic Lantern Group mailto:[EMAIL PROTECTED] Joseph Koenig [EMAIL PROTECTED] wrote in message [EMAIL