RE: [PHP] PHP/MySQL Question
| From: | Rick St Jean | Date: | Sun, 11 Mar 2001 02:30:00 +0000 |
| Subject: | RE: [PHP] PHP/MySQL Question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-43359@lists.php.net to get a copy of this message | ||
That is database specific.... no standard SQL.
To make it non specific.
you can put it in a for loop. remember to check for eof.
Rick
At 06:01 PM 3/10/01 -0600, you wrote:
Select * from table limit 5; http://www.calevans.com -----Original Message----- From: Kath [mailto:ranger@optonline.net] Sent: Saturday, March 10, 2001 6:01 PM To: php-general@lists.php.net Subject: [PHP] PHP/MySQL Question Having some problems with syntax. If I wanted to SELECT only 5 instances of something from a database and order it by datetime, how would I do that? - Kath -- 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########################################################## # Rick St Jean, # rstjean@internet.look.ca # President of Design Shark, # http://www.designshark.com/ # Quick Contact: http://www.designshark.com/messaging.ihtml # Tel: 905-684-2952 ##########################################################