jaki jest błąd w tym zapytaniu:
<?php $query = "SELECT * FROM calendar WHERE from >= '2006-9-1' AND to <= '2006-9-1'"; ?>
Błąd:
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'from >= '2006-9-1' AND to <= '2006-9-1'' at line 1