Re:[SOLVED] [PHP] Help: Database Search

From: Date: Sat, 13 Nov 2004 22:46:38 +0000
Subject: Re:[SOLVED] [PHP] Help: Database Search
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-201933@lists.php.net to get a copy of this message
--- Stuart Felenstein <stuart4m@yahoo.com> wrote: Okay, so what did I learn. 1) That a comma delimited list (from the array) to be used correctly in the sql statement had to use the IN word. $sql .= " WHERE VendorJobs.Industry IN ($s_Ind)"; 2) I need a space between the first quotation in the first and second sql statements. 3) Debug my code. Perhaps I need to learn more about that but i was printing out the sql statements and had the mysql_error() set for the failure. Stuart

« previous php.general (#201933) next »