Re: Storing Code in a db?

From: Date: Wed, 27 Jun 2001 23:30:21 +0000
Subject: Re: Storing Code in a db?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-9874@lists.php.net to get a copy of this message
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 pull the function out of the database, write it to a file, and then include your newly written file... Which ofcourse would require a reload or 2 scripts. I'd stick with a couple of includes if I were you =). -- Andreas D Landmark / noXtension Real Time, adj.: Here and now, as opposed to fake time, which only occurs there and then.

« previous php.db (#9874) next »