Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] change sequence of some records in query result ?
#1

[eluser]Zeeshan Rasool[/eluser]
hi ,
i have an array
$array = (
'0'=>'id',
'1'=>'name',
)
which holds records from a table but i need 2 records on top so i use order by clause and now one record in on 2nd and other is on 8th position in array.
How can i put then in first and second position ?
any function? thanks


Messages In This Thread
[SOLVED] change sequence of some records in query result ? - by El Forum - 11-09-2009, 02:53 AM



Theme © iAndrew 2016 - Forum software by © MyBB