ordering the rows manually

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

Post Reply
computerages
Forum Newbie
Posts: 1
Joined: Wed Dec 22, 2004 7:47 pm

ordering the rows manually

Post by computerages »

hey eveyone!

I am looking for a php script which would let me order the rows manualy instead of table's id, or something like it...

If you still don't understand what I am looking for:

Image

waiting for your reply...thanks!
User avatar
nigma
DevNet Resident
Posts: 1094
Joined: Sat Jan 25, 2003 1:49 am

Post by nigma »

There are a few ways. The easiest would probably be to add a column to the table in which you would put the rows display position. Then sort by that column.
Post Reply