General discussions related to php
Moderators: macek, egami, gesf
- New php-forum User
- Posts: 12
- Joined: Wed Nov 30, 2011 2:28 am
How can we reshuffle the data from database represent in table form? I want to reshuffle the data of table it means we can up and down that data for e.g if I want to that data in first row from last row then I want to drag the data from last row and drop in 1st row.
Is it possible?
please reply me...
- php-forum Super User
- Posts: 1805
- Joined: Thu Mar 10, 2011 5:07 pm
your question is not clear.
You cannot drag and drop using php. You can sort the records in ascending order or descending order using php after you have retrieved the records from your database table. You can also sort on the database side using sql.
You can shuffle(random) your records using php.
Return to “PHP General”
Who is online
Users browsing this forum: No registered users and 2 guests