You could check how many rows are returned after the query by using the command mySQL_RowNumber(). If it returns 1 then it should be ok, but if it returns 0 something is wrong because then it hasn't found anything.