I have a table id in a table and the way I want them have been ordered and any other table You have to select the data from those IDs and listen to the headlines in the order.
It is very misleading but I was thinking of two solutions, giving order based on parameters but I do not know that it is possible and second is to get all the necessary data and then change it to array (mysql_fetch_assoc ) Then compare those two and in some way use the array using the new array. But I do not even know how to do this ...
Any thoughts?
I'm not sure if I have found what you are asking ... maybe You want to use ORDER BY FIELD
.
Example:
by field (id, 5,6,3,2,4,1)
Comments
Post a Comment