|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Limit the result and then sort it
Is it possible for me to query the database and limit the query to the first 10 records that match the criteria, then sort the query - rather than sorting it and then limiting it?
|
|
#2
|
|||
|
|||
|
RE: Limit the result and then sort it
AFAIK, you can't. But, you can read the rows into an array and sort them using usort()...
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Database Help > Limit the result and then sort it |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|