$date_1 = $year_1."-".$month_1."-".$day_1." 00:00:00";
$date_2 = $year_2."-".$month_2."-".$day_2." 00:00:00";
echo $date_1;
echo "<br>";
echo $date_2;
echo "<br>";
$sorgu = "select * from fatura where duzenleme_zamani < '$Date_2' and duzenleme_zamani > '$date_1' order by fatura_no";
what is wrong with this statement?