Dohhh...., Forget I asked....
alex hogan > -----Original Message----- > From: Jason Wong [mailto:[EMAIL PROTECTED] > Sent: Friday, March 05, 2004 1:43 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Returning only a row count of 1? > > On Saturday 06 March 2004 03:40, Alex Hogan wrote: > > 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. > > Right, and what does that single row *contain* ? > > -- > Jason Wong -> Gremlins Associates -> www.gremlins.biz > Open Source Software Systems Integrators > * Web Design & Hosting * Internet & Intranet Applications Development * > ------------------------------------------ > Search the list archives before you post > http://marc.theaimsgroup.com/?l=php-general > ------------------------------------------ > /* > Harp not on that string. > -- William Shakespeare, "Henry VI" > */ > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php ****************************************************************** 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. ******************************************************************