The mysql_query function in php returns TRUE on success and FALSE on failure.
My question is what is considered success ?
In other words, what is returned when there is nothing from a SELECT statement, or if there is an UPDATE and nothing that matches the WHERE clause. Does it return FALSE or something like an empty resource ?
I'm trying to differentiate between a db error, and an empty result.