RE: [PHP] Counter Quandry

From: Date: Fri, 27 Oct 2000 09:51:21 +0000
Subject: RE: [PHP] Counter Quandry
Groups: php.general 
Request: Send a blank email to php-general+get-22304@lists.php.net to get a copy of this message
Just to add: you would have less problems if you would use PHPLIB with $db->Num; you would get the number and then $db->query($SQL) pulls the staff out... another easy way could be : make a class: inside it pull the data out and register it to an array, then count array's size and assign another variable to it, then print your $count, and do while($staff) Maxim Maletsky .. -----Original Message----- From: Ben Ocean [mailto:lists@TheWebsons.com] Sent: Friday, October 27, 2000 4:28 PM To: php-general@lists.php.net Subject: [PHP] Counter Quandry Hi; The user selects criteria from a MySQL relational database. I create a page on the fly with a table for each qualified selection. I have a counter that increments after each table is created. I would like to use the final count at the *beginning* of the page: before the program starts writing the tables. How do I do that? TIA, BenO -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#22304) next »