PHP-Code:
<?php
if($_GET['action'] == "in"){
$sql = mysql_query("UPDATE ".$db_table." SET in=NOW() WHERE id='".$_GET['id']."'") or die(mysql_error());
}
?>
Code:
SET in=NOW()
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 'in=NOW() WHERE id='32'' at line 1
Kommentar