01.07.2017, 17:42
Hey all, please can anyone help me on fixing this Query Syntax proplem...
Query Syntax error:
Code:
please some help...
Query Syntax error:
Код:
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 'WHERE `ip` = '127.0.0.1'' at line 1
PHP код:
if (!mysqli_query($DB, "INSERT INTO Protection (`path`, `verified`, `ip`) VALUES ('" .$_SERVER['PHP_SELF']. "', 'FALSE', `" .GetClientIP(). "`) WHERE `ip` = '" .GetClientIP(). "'"))
{