Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001062

Re: [PHP-DB] Storing Code in a db? From: Andreas D. Landmark (andreas.landmark <email protected>)
Date: 06/27/01

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.

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>