How to separate records and ORDER BY


Posted on 16th Feb 2014 07:03 pm by admin

Let say i have 100 records and displayed in one page, then i want to get the records from 50-100 and use ORDER BY to re-order whether DESC or ASC

How can i do the ORDER BY without re-order first 50 records (0-49)...

Did you know?Explore Trending and Topic pages for more stories like this.
I've tried LIMIT 49,50 but it still re-order the first 50 records...

anyone has a clue?
No comments posted yet

Your Answer:

Login to answer
116 Like 8 Dislike
Previous forums Next forums
Other forums

Load Animated Image while cache is serve
I have a page that loads up using cache and took about 1 to 2 minutes before it loads to the page. <

Call db table from any PHP file
Hi,

I want to be able to call a database table that will be setup in another file called init

Procedural to OOP
John Kleijn said that to avoid writing "crappy code", we should learn OOP and common OO pr

registration form
first time posting. did some searches but didnt find exactly what i am looking for. dont flame cause

Is it a good practice to store user info. in sessions?
I am making a user class for my script which stores all the user information in sessions. It takes u

A little help in c#
i am doing a simple paint program using c# i want to draw with the mouse so i wrote the code of the

Do not allow posting of whitespace
Currently the script below works if the user does not type a name/message, but if i create a whitesp

IP question
ive got 2 ip addresses both global from same user how would i detect if they are local to each other

Best way to check for end of a record and send it back to the first record
I'm hoping someone can help me out and explain the best way to accomplish this.

What I'm doin

calculator
I can't figure out why this code doesn't work. No error messages. Page loads.

Code: <

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash