I need to reverse result from mysql query, but i cannot use ORDER BY xxx ASC/DESC, and I dont want to create new array from fetch_assoc and run through it second time.
Is there any way to do it different way? Or select top 10 records, then in ajax call next top 10 records under previous records.
I need to reverse result from mysql query, but i cannot use ORDER BY
Share
You may look at the mysql_data_seek, there is even example for feetching rows in reverse order.