i used a mysql query where there is “where id in (“22,20,21″) ”
but when i get the result its like array ordered in asecending order ie 20,21,20
but i need it in the same order as i gave the clause
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
i think you should be able to use the FIELD keyword like so:
this is mysql specific, and seems magical, but it works.