Getting the Mysql row number ?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
ok
Forum Contributor
Posts: 393
Joined: Wed May 31, 2006 9:20 am
Location: The Holy Land

Re: Getting the Mysql row number ?

Post by ok »

phpMyAdmin always displays the query it used to get the shown results. Try to use that in PHP and see what you get.
aneuryzma
Forum Contributor
Posts: 106
Joined: Sat May 17, 2008 7:03 am

Re: Getting the Mysql row number ?

Post by aneuryzma »

Well, it is jus SELECT * FROM `Table` . As I told you it is the "default" order. It is probably the order in which the data are stored in memory. Again, I was wondering if I can reuse this information without adding an additional field.
Post Reply