RE: [PHP] executing php script from sql field.

From: Date: Fri, 18 Jun 2004 13:49:32 +0000
Subject: RE: [PHP] executing php script from sql field.
Groups: php.general 
Request: Send a blank email to php-general+get-188574@lists.php.net to get a copy of this message
[snip] Hello I am trying to get some php code that's in a mysql field to execute...all I can get it to do is print the php code as human readable... I'm trying somthing like this..: print $sql["data"]; where data has something like this in it: Hello, this is <? print $name;?> anyone have any suggestions? [/snip] Yes. http://www.php.net/eval

« previous php.general (#188574) next »