【发布时间】:2010-10-06 06:49:44
【问题描述】:
假设我在 DB 中有一个“日期时间”列。它有一个类似“2010-10-01 09:12:00”的数据。 除此之外,我想制作一个搜索页面:
<select id="month" name="month">
<option value="01">01</option>
<option value="02">02</option>
...
</select>
<input type="text" id="year" name="year">
如果我选择month=10和year=2010如何获取数据?
【问题讨论】: