get data from datetime's column

bugnotme

New Member
lets say I have a "Datetime" column in DB. It has a data like "2010-10-01 09:12:00".Beside that, i want to make a searching page which have:\[code\]<select id="month" name="month"> <option value="http://stackoverflow.com/questions/3870066/01">01</option> <option value="http://stackoverflow.com/questions/3870066/02">02</option> ...</select><input type="text" id="year" name="year">\[/code\]How do i do to get data if i choose \[code\]month=10\[/code\] and \[code\]year=2010\[/code\]?
 
Back
Top