Ett stycke php-kod:
$laggTill = "INSERT INTO apps (title, date, cateogry, version, Pris, betyg, lank, Forfattare, text1, text2, text3, bild1, bild2, bild3, bild4, bild5, bild6) VALUES ('$titel', NOW(), '$kategori', '$version', '$pris', '$betyg', '$lank', '$skribent', '$text1', '$text2', '$text3', '$bild1', '$bild2', '$bild3', '$bild4, '$bild5', '$bild6')";
mysql_query($laggTill) or die(mysql_error());
Vad är fel? Jag får 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 '', '', '')' at line 1 Allt fungerade bra tills jga la till text1,2,3 och bild1,2,3,4,5,6... Någon som kan lösa det?
/party