Returning only a row count of 1?

From: Date: Fri, 05 Mar 2004 19:40:08 +0000
Subject: Returning only a row count of 1?
Groups: php.general 
Request: Send a blank email to php-general+get-179591@lists.php.net to get a copy of this message
I have 6 records in this table but using this code; $querytotalcount = "SELECT COUNT(*) FROM CF_Survey"; $resulttotalcount = mssql_query($querytotalcount) or die("Can not execute query $insert_query. "); $totalrows = mssql_num_rows($resulttotalcount); I only return a count of 1. Am I missing something? I checked the manual and archives and have come up empty. alex hogan ****************************************************************** The contents of this e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom it is addressed. The views stated herein do not necessarily represent the view of the company. If you are not the intended recipient of this e-mail you may not copy, forward, disclose, or otherwise use it or any part of it in any form whatsoever. If you have received this e-mail in error please e-mail the sender. ******************************************************************

« previous php.general (#179591) next »