Posted: Fri Jul 06, 2007 12:27 pm How with PHP to call last row of ID in SQL?
Hye all!! I got some basic question about SQL + PHP. I would like to know with PHP to call last row of ID? I mean like image above, i would like to view only that 1009 as output on my website and NOT all of from 1,1007,1005,1006,1008 & 1009. I alread try with
Code:
$id = $row['id'];
echo "Last ID is - ".$id."";
But that will list all of that ID in the row, so can someone tell me what a exactly "$" i have to use.
If u dont mind i also need to know any referrer URL for SQL newbies where i can know & understand any basic SQL library key/etc.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum