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 through eval() for it to 
do anything useful.
ie
        while ($row = mysql_fetch_row($result)) {
        echo eval($row[0]);
        }

Good luck...

Christopher Ostmo
a.k.a. [EMAIL PROTECTED]
AppIdeas.com
Meeting cutting edge dynamic
web site needs

For a good time,
http://www.AppIdeas.com/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to