I am querying a database and trying to return a value. when there is no match and In my code it tries to assign the value to a variable, in the alert...it says "undefined". How can i test for the results that it returned no records?