Hello, this error has been torturing me for an hour...
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 ''lock'='0' where pmID='206'' at line 1
This is the code:
else {
print "Žinutė išsaugota.";
$ui1="update km_pms set lock='0' where pmID='$x'";
mysql_query($ui1) or die(mysql_error());
}
Can someone please tell me what I'm doing wrong?