One more question about this:
If I wanted to select the last row, would I use this code?
$query = "SELECT * FROM polls ORDER BY pollID DESC LIMIT 0,1";
"Hans Prins" <[EMAIL PROTECTED]> schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> thank you,
>
> that did the trick :)
>
>
thank you,
that did the trick :)
"Thomas Seifert" <[EMAIL PROTECTED]> schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Sun, 16 Feb 2003 12:51:58 +0100 [EMAIL PROTECTED] (Hans Prins) wrote:
>
> > Hello,
> >
> > Im trying to select only one row in a mysql database (in this case
On Sun, 16 Feb 2003 12:51:58 +0100 [EMAIL PROTECTED] (Hans Prins) wrote:
> Hello,
>
> Im trying to select only one row in a mysql database (in this case a poll
> with the smallest pollID)...
> Each row has a field called "pollID" which is the primary key and is auto
> incremented when a n
3 matches
Mail list logo