Re: Storing Code in a db?
| From: | Leo de Kleijn | Date: | Thu, 28 Jun 2001 12:25:32 +0000 |
| Subject: | Re: Storing Code in a db? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-9909@lists.php.net to get a copy of this message | ||
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