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:
<select id="month" name="month">
<option value="01">01</option>
<option value="02">02</option>
...
</select>
<input type="text" id="year" name="year">
How do i do to get data if i choose month=10
and year=2010
?