Re: [PHP-DB] Storing Code in a db?

2001-06-28 Thread Andreas D. Landmark
At 27.06.2001 14:06, you wrote: Hey there, Is it possible to store code like a function, for example, in a mysql database and pull it into a php dynamicallly so you can use the function if needed? Not in a way that would be effective, the only way I could see it work is if you use a script to

Re: [PHP-DB] Storing Code in a db?

2001-06-28 Thread Christopher Ostmo
Mark @ 10base-t pressed the little lettered thingies in this order... Hey there, Is it possible to store code like a function, for example, in a mysql database and pull it into a php dynamicallly so you can use the function if needed? Yes, it is possible, but you need to run the code

Re: [PHP-DB] Storing Code in a db?

2001-06-28 Thread Leo de Kleijn
It's possible. Store the function as a text field, retrieve it and use eval($fieldvalue); Hey there, Is it possible to store code like a function, for example, in a mysql database and pull it into a php dynamicallly so you can use the function if needed? Mark Leo -- PHP Database

[PHP-DB] Storing Code in a db?

2001-06-27 Thread Mark @ 10base-t
Hey there, Is it possible to store code like a function, for example, in a mysql database and pull it into a php dynamicallly so you can use the function if needed? Mark