WOW! That was fast! :D Thanks Dave! -afan > $query = mysql_query(" > SELECT COUNT(*) as NoOfRecords > FROM customers > WHERE last_name = 'Smith'"); > $result = mysql_result($query, 0); > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php