Re: $var inside a mysql query?

From: Date: Mon, 24 Jul 2000 19:16:40 +0000
Subject: Re: $var inside a mysql query?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-1439@lists.php.net to get a copy of this message
YES! thats one of finest points of PHP, as well as Perl DBI..etc. /cody "ROUSSY, ISABELLE" wrote: > 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 > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- Cody Caughlan -codyc@cisco.com- Cisco Systems Web/Database Engineer phone: (408) 525-6029 Enterprise Line of Business pager: (408) 951-9949

« previous php.db (#1439) next »