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

Why doesn't this work? (SSH2)
This is my script:

Code: <?php
$connection = ssh2_connect('213.251.167.109', 22);

Select all entries from database that include a phrase
I have a database of clubs - one of the categories is meeting time and place
I would like to have

List/Menu Box
On an edit page when you want something to select what a user has previously selected from the datab

Need help/w Page: 1,2,3,4 function!
So I have this code im working on where it's ment to display seperate pages having 20 logs each
I

Select question
Hi,

First I would like to say that php is pretty new for me..
so please don't shoot me if

Why use OOP?
Can someone explain to me why I should use OOP instead of procedure based code.

Im building a

Loops and Classes
I am making a template system and everything seems to be going well up until I have to loop in a var

pls clear my confusion
Hi friends,

Pls solve my query .

what is the exact use of Scope Resolution Operator( i

Unifying logins of two different scripts
I have two different game scripts which I want to embed on my own site. The problem is I don't want

Multiple while loops
I have several DB queries that I know should be returning results and aren't. I have a feeling it ha

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