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)...

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

Need a Timecode Class...
Not a Time Stamp, Time Code. Format is a bit different. HH:MM:SS:FF where FF is Frames. I dont re

How to validate from 2 possible answers
Hi

I hope somebody can help me with what will probably be really simple, I'm pulling my hair

php + mysql count consecutive data
I have a database of values and I want to work out how to display them if the values match a consecu

show the direct link into href
I want to display link on the page. i am fetching the data(URL) from database,actually before that i

Syntax Help
Code:


im having trouble with that code snipped
Parse error: syntax error, unexpec

PHP XML extraction text
I would like to extract an xml text and have that text directly echo(print) out on my web page. Her

$_FILES array
Ok,

I just started experimenting with PHP today. My goal right now is to have people be able

Small problem with image resize script
Hi!

I am a little bit new to php and I have an issue installing an image resize script I down

phph within href not showing php if change ? to &
Code: [Select]<a href="<?php echo $puser; ?>?m=<?php=(($m-1)&l

add text and number image
hi guys ..

ok see i want the user to add their name and pick a number then click get it and i

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