I want to ascend MYSQL from a value in the database.
Hypothetically:
database with table tbl_numbers column numbers has 10 values in it 1-10.
I want to:
order by numbers desc {from 8} LIMIT 3
o gösterecek
8
7
6
yerine:
order by numbers desc LIMIT 3
10
9
8
Bu mümkün ise ne php değil, bu çok iyi mysql.
- Update! -
The example I gave was way to easy, I really need to match the date() with the dates of the entry's in the database and start the asend or decend from there any ideas? The date format is in 2010-06-18