A
Anonymous
Guest
Добър вечер колеги. Този проблем ме човърка вече 20-та минута, и не намирам каква може да е недодяланата грешка... Зов за помощ :-D
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 'from, status, likes, date) VALUES (NULL, '', '234234', '0', '1337547863')' at line 1
PHP:
$sql = mysql_query("INSERT INTO `status` (id, from, status, likes, date) VALUES (NULL, '$_SESSION[username]', '$status', '0', '$date')") or die(mysql_error());