<?php @mysql_query("INSERT INTO seel_points VALUES ('' ,$punkty, $_POST[cena], $_SESSION[username], $data, ''") or die('Błąd w zapytaniu - skontaktuj się z Administratorem. Błąd: '.mysql_error().' 2'); ?>
Jak powinno wyglądac dobrze skonstruowane zapytanie?
Dzięki, pozdrawiam.
Błąd:
Cytat
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 '' at line 1