php-windows Digest 26 May 2009 11:01:44 -0000 Issue 3630

Topics (messages 29355 through 29355):

Counting returned MySQL rows, and possibly storing returned recordset in a 
session variable
        29355 by: Jacob Kruger

Administrivia:

To subscribe to the digest, e-mail:
        php-windows-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-windows-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-wind...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
As far as I know/thought, you could include something like COUNT(*) in a 
list of fields to be returned from MySQL to get told how many rows were 
returned by mysql_query, but it doesn't seem to want to work on this 
instance of MySQL I have here installed inside WAMP.

Also, if I try assigning the result of mysql_query to a session variable, 
the mysql_fetch_array function doesn't work since the result set hasn't been 
assigned to the current mysql session or something - is there any way to 
carry this over page to page without requerying the database itsself?

TIA

Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'



--- End Message ---

Reply via email to