Re: PHP commands inside a MySQL Database
| From: | Miguel Cruz | Date: | Fri, 31 May 2002 02:49:34 +0000 |
| Subject: | Re: PHP commands inside a MySQL Database | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-100040@lists.php.net to get a copy of this message | ||
On Thu, 30 May 2002, Taylor York wrote:
> 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?
http://php.net/eval