Skift inputnavn til :-
echo "<td>".'<input type="text" name="date_from" class="datepicker">'."</td>"; // remove []
echo "<td>".'<input type="text" name="date_to" class="datepicker">'."</td>"; // remove []
Brug datoformat som dette
Try: date("Y-m-d") which uses the numeric equivalents.