Okey, I need to order an specific ID by date.
Let's say that I have:
Id 50 = 2015-01-22 14.00
Id 51 = 2015-01-23 14.00
I need to order this and get out just one with WHERE? (I guess)
So If I have $_GET['51'] I need to know which place it has. In this case: Number 2
And I will also need an list of it all, so:
Number 1 = Id 50 = 2015-01-22 14.00
Number 2 = Id 51 = 2015-01-23 14.00
So basic, I want to know how to change the date to numbers and order them by the date.