MySQL Forums :: PHP :: IN order


Advanced Search

IN order
Posted by: Allan Lohse ()
Date: January 29, 2010 10:40AM

Hello,

How do i ORDER the result of this

SELECT * FROM server_oversigt WHERE id IN ($id)

In my case i call

phpscript.php?id=23,67,12
But
phpscript.php?id=12,67,23

Returns the same result, how do i ORDER the output result to the array order.

- Allan

Options: ReplyQuote


Subject Written By Posted
IN order Allan Lohse 01/29/2010 10:40AM
Re: IN order Peter Brawley 01/29/2010 05:34PM
Re: IN order Rick James 01/30/2010 12:47AM
Re: IN order Allan Lohse 01/30/2010 02:20AM
Re: IN order Peter Brawley 01/30/2010 11:58AM
Re: IN order Allan Lohse 01/30/2010 12:17PM
Re: IN order Darrell Greenhouse 01/30/2010 09:05AM
Re: IN order Darrell Greenhouse 01/30/2010 12:22PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.