How to parse db-stored code
| From: | heinisch at creaction dot de | Date: | Wed, 20 Mar 2002 11:10:02 +0000 |
| Subject: | How to parse db-stored code | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-89311@lists.php.net to get a copy of this message | ||
Hi Folks,
I have stored several selects in a mysql-db,
it is possible to parse the answer, but I couldn´t remember how.
f.e.
the answer on a query is:
select * from somewhere where foo='$foo' and foofoo='$foofoo'
this is a string, what is the method to make the $foo-vars
"real" vars?
TIA Oliver