[snip] $numRows = mssql_num_rows($result); print ("$numRows"); [/snip]
A. print($query); //to make sure it is correct, double check 2. print($numRows); // no quotes, again to test HTH -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php