[snip] $query = "select * from table1 where colum1 like '$email%'";
$returnValue = QueryDatabase($query); echo mysql_num_rows($returnValue); I always get 0 for the # of records. [/snip] You have not included the code from your QueryDatabase function....so we would have to have a crystal ball to discern the answer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php