Cambia il nome di input in :-
echo "<td>".'<input type="text" name="date_from" class="datepicker">'."</td>"; // remove []
echo "<td>".'<input type="text" name="date_to" class="datepicker">'."</td>"; // remove []
Usa Dateformat in questo modo
Try: date("Y-m-d") which uses the numeric equivalents.