I'm sorry. This code just makes me weep.

Let's just take a quick look at this line here:

> $rsSearch = mysql_query($sqlSearch);

You have not supplied a database connection, so mysql_query will fail.
Further, you have not even checked the result to *see* if it failed.

Once you fix those things, try echoing out the $sqlSearch string to
see how that ends up looking. You may be surprised.

Other than that, there is so much wrong here I don't quite know where to begin.

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

Reply via email to