RE: [PHP] Variable question
| From: | Jack Dempsey | Date: | Mon, 07 May 2001 20:13:48 +0000 |
| Subject: | RE: [PHP] Variable question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-51816@lists.php.net to get a copy of this message | ||
ok, look into eval()
-----Original Message-----
From: King, Justin [mailto:KingJ@superior.k12.wi.us]
Sent: Monday, May 07, 2001 4:07 PM
To: php-general@lists.php.net
Subject: RE: [PHP] Variable question
Here let me flesh this out a bit more
Consider the query "SELECT datafield FROM myTable WHERE id=1";
This would return "My username is $userdata["username"]";
I want to then output what the database returns, and have php evaluate
my variables.
-Justin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net