<?php require(\"admin/config.php\"); { Login: Hasło: Hasło powtórz: Mail: Gadu-Gadu: \"; } else { if($_POST['pass1'] == $_POST['pass2']) { $pw = $_POST['pass1']; } $query = \"INSERT INTO aa_users ('nick', 'password', 'rights', 'mail', 'gg') VALUES ('$nick', '$password', 'user', '$mail', '$gg')\"; if(!$result) } ?>
I wywala mi coś takiego:
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 ''nick', 'password', 'rights', 'mail', 'gg') VALUES ('login', '43e21d857296a7f997' at line 1