Re: storing functions in a database
| From: | Doug Semig | Date: | Mon, 26 Jun 2000 19:22:42 +0000 |
| Subject: | Re: storing functions in a database | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-3179@lists.php.net to get a copy of this message | ||
Take a look at the eval() function. It may be what you're looking for.
Doug
Kris Mach was heard at 02:11 PM 6/26/00 -0400 to say:
>I would like to store my functions in a database instead of a include
>file, is that possible?
>
>Also if I were to store some php code in a database field, could I
>retrieve it and have it parsed through php and then spit out to the user
>instead of just having it spit out directly from the database to the
>user?
>
>One more question, if I were to use a java servlet and have it spit out
>php code, would it be possible to have the php code than be parsed by
>php instead of once again being spit out to the user?
>
>Thanks! I have been working on this, and this stumped me for the past
>couple of days.
>
>__
>Kris.
>