Re: database selection
| From: | Kevin Waterson | Date: | Sun, 16 Feb 2003 12:41:37 +0000 |
| Subject: | Re: database selection | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-135740@lists.php.net to get a copy of this message | ||
This one time, at band camp,
"H Prins" <HPrins@xgn.nu> wrote:
> Hello,
>
> Im trying to select only one row in a mysql database (in this case a poll
> with the smallest pollID)...........
$query = "SELECT * FROM polls ORDER BY pollID ASC LIMIT 1";
Kevin
--
______
(_____ \
_____) ) ____ ____ ____ ____
| ____/ / _ ) / _ | / ___) / _ )
| | ( (/ / ( ( | |( (___ ( (/ /
|_| \____) \_||_| \____) \____)
Kevin Waterson
Port Macquarie, Australia