DateTime sütundan veri almak

0 Cevap php

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">

I month=10 ve year=2010 seçerseniz ben veri almak için nasıl yapabilirim?

0 Cevap