Op 3 nov. 2012 02:12 schreef "tamouse mailing lists" <
tamouse.li...@gmail.com> het volgende:
> 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.

Have you ever used mysql in this form? It works perfectly. Having something
like or die(mysl_error()); is recommended, atleast for debugging, not for
production where you should check the return value and silently fail.

- Matijn

Reply via email to