
August 2nd, 2007, 05:10 AM
|
|
Registered User
|
|
Join Date: Aug 2007
Location: mumbai, india
Posts: 10
Time spent in forums: 3 h 29 m 58 sec
Reputation Power: 0
|
|
Arrange by date data from MySQL db
I am using field "date" type "datetime" in format YYYY-MM-DD HH:MM:SS in MySQL db.
My fields contains date, name, description.
I want to create a dropdown menu that can query db and show field with Today, Yesterday, last month, all time.
I also need to put a form having Fields FROM: dd/mm/yy TO : dd/mm/yy that can display all fields ranging between To and From values.
I will be really thankful for any help in logic or code.
Note: All this thing will be displayed on password protected page accessible only to admin.
|