Getting last row, moving backwards..
| From: | Chad Day | Date: | Fri, 19 Jan 2001 15:15:09 +0000 |
| Subject: | Getting last row, moving backwards.. | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-5982@lists.php.net to get a copy of this message | ||
I need some help selecting the last row in my database, and then moving
backwards.. I can't just get mysql_num_rows and go back by 1, as some of the
records are missing.. the ID field might have #'s like 1950, 1948, 1947,
1944, etc, and I don't want it to break by mistakingly trying to grab 1949.
Can someone provide some help or a link to where in the manual what I'm
doing might be explained? Been searching, no luck yet. Thanks!
Chad Day
Beach Associates
When I speak german... I think german in my head... but like...Do skript
kiddies see a w40l3 8uncha 1's and 0's and 3's and 4's and 7's in their
h34d'5 w43n t43y R +a1k1n6 ? -- SirStanley