MySQL Forums
Forum List  »  PHP

Re: IN order
Posted by: Darrell Greenhouse
Date: January 30, 2010 12:22PM

Allan Lohse Wrote:
-------------------------------------------------------
> Returns the same result, how do i ORDER the output
> result to the array order.
>
> - Allan

Sorry for my earlier post...

I didn't understand what you really wanted. Ergo... the general "order by" clause.

What you're trying to accomplish is really nifty and can save a lot of time by having the database engine do the "unique ordering" versus the application logic.

Although the output of your last post seems really odd since you inserted the values in ordinal order.

I'm having some system conniptions at the moment, so I'll give it a stab when I'm back up and running smoothly.

~ We all must do the hard bits, so when we get bit, it doesn't byte so hard! ~

Options: ReplyQuote


Subject
Written By
Posted
January 29, 2010 10:40AM
January 29, 2010 05:34PM
January 30, 2010 12:47AM
January 30, 2010 02:20AM
January 30, 2010 11:58AM
January 30, 2010 12:17PM
January 30, 2010 09:05AM
Re: IN order
January 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.