PHP commands inside a MySQL Database
| From: | Taylor York | Date: | Thu, 30 May 2002 19:22:40 +0000 |
| Subject: | PHP commands inside a MySQL Database | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-99994@lists.php.net to get a copy of this message | ||
I am inserting html/php code into a database that would look something like
default page <? echo "test"; ?>
now the problem is, I am getting the field, title, and echoing as so (after
using mysql_fetch_array and extract
echo "<TITLE>$title</TITLE>\n";
the acual title of the page in IE is
default page <? echo "test"; ?>
It doesnt parse or execute any of the php. Any suggestions?
Thanks
Taylor York