Dostaje komunikat o treści: 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 '20:56:44' at line 1
KOD:
$zapytanie1 = "SELECT * FROM `cms_sklep_historia` WHERE `klient` = ".$_SESSION['id']." ORDER BY `id` ASC"; { $data = $wiersz['data']; $zapytanie2 = "SELECT * FROM `cms_sklep_historia` WHERE `data` = ".$data.""; { } }
Chodzi o zapytanie2. W czym jest błąd?