$var inside a mysql query?
| From: | ROUSSY, ISABELLE | Date: | Mon, 24 Jul 2000 18:59:11 +0000 |
| Subject: | $var inside a mysql query? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-1438@lists.php.net to get a copy of this message | ||
Hello,
Can we perform a sql query using a variable inside the php code? This is
what I'm tryig to do
$description=mysql_query("select GeneralDescription from Application
where ApplicationAcronym=$choix", $db);
--
Isabelle Roussy
Bell Canada
IS/IT - Billing Requirements
700 de La Gauchetiere W B8W2 Montreal Qc H3B 4L1
Mailto:isabelle.roussy@bell.ca
Office (514) 391-7939 Fax (514) 393-8162