RE: [PHP] mysql php - while loops

2002-02-27 Thread Craig Westerman
M To: 'Craig Westerman'; php-general-list Subject: RE: [PHP] mysql php - while loops with a bit of cheating... use a table... (nb: this code not tested, but logic has) " ?> - - "; $i++; } ?> -Original Message- From: Craig Westerman [mailto:[EMAIL PROTECTE

RE: [PHP] mysql php - while loops

2002-02-27 Thread Stewart G.
> From: Craig Westerman [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 27, 2002 11:43 AM > To: php-general-list > Subject: [PHP] mysql php - while loops > > > The following lists 12 items from a fruits table. > > $results = mysql_query("SELECT ID, date, appl

RE: [PHP] mysql php - while loops

2002-02-26 Thread Martin Towell
with a bit of cheating... use a table... (nb: this code not tested, but logic has) " ?> - - "; $i++; } ?> -Original Message- From: Craig Westerman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 27, 2002 11:43 AM To: php-general-list Subject: [PHP] mysql p

[PHP] mysql php - while loops

2002-02-26 Thread Craig Westerman
The following lists 12 items from a fruits table. $results = mysql_query("SELECT ID, date, appleprice, orangeprice, pearprice FROM fruits"); while ($data = mysql_fetch_array($results)) { ?> - - - <> [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: