Re: PHP tags in a MySQL echo
| From: | Joshua Stein | Date: | Tue, 09 Apr 2002 23:57:20 +0000 |
| Subject: | Re: PHP tags in a MySQL echo | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-18370@lists.php.net to get a copy of this message | ||
> Is there any way to work around this and get it to treat all the echoed rows
> as PHP not just only text?
Wrap the print around an eval():
print(eval($string));
-j.