Jag måste vara helt tom i huvudet just nu.
Ska skriva en enkel update-sats i mysql/php enligt följande
$sql = "UPDATE cq_articles SET type = $type, loge = $loge, publish = $publish, header = $header, text = $text WHERE id = $id LIMIT 1";
mysql_query($sql) or die(mysql_error().'<br />newssystem::editNews');
får detta felmeddelandet
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 'text, text =
hejsan alla...nu testar jag att ändra
newssystem::editNews