Hello phpfreaks.....
I have a problem that I hope you guys can help me with...
mysql_query("INSERT INTO knetbrugere (navn, mailen, brugernavn, kodeord, pic, profiltekst, alder, by, mandag, tirsdag, onsdag, torsdag, fredag, ldag, sdag)VALUES('$navn', '$mailen', '$brugernavn', '$kodeord', '$pic', '$profiltekst', '$alder', '$by', '$mandag', '$tirsdag', '$onsdag', '$torsdag', '$fredag', '$ldag', '$sdag')")or die(mysql_error());
Error:
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 'by, mandag, tirsdag, onsdag, torsdag, fredag, ldag, sdag)VALUES('sdfsdf', 'sdfsd' at line 1