Hi, Is it possible to execute PHP stored in a MySQL-database? If so, how to do it? In the example below I store "Hello world!<BR>" in a database, and next I echo it. "Hello world!" is printed on the screen. But how to * store PHP-code in a database * and execute it? Any help would be appreciated. Greetz, aquariuz --- <?PHP $connect=@mysql_connect($dbhost,$dbuser,$dbpassword); if($connect) { mysql_select_db($dbname); $sql=mysql_query("DELETE FROM test WHERE id=1"); $sql=mysql_query("INSERT INTO test (id, query) VALUES (1, 'Hello world!<BR>')"); $query="SELECT query FROM test WHERE id=1"; $sql=mysql_query($query); $row=mysql_fetch_array($sql); echo $row["query"]; } ?> -- PHP General 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]