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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- Stuart Felenstein <stuart4m@xxxxxxxxx> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux