Hab ein Problem und zwar will ich RGB Farbwerte in meiner SQL DB speichern.
So mach ich die Spalte
Das was eingefügt werden soll.
Da in RGB Farbwerte sonderzeichen, Zahlen und String Zeichen vorkommen weiß ich nicht wie ichs deklarieren soll.
Fehlermeldung:
1064: You have an error in your SQL syntax near 'varchar(7) ) values ' at line 26
Mfg Markus
So mach ich die Spalte
PHP Code:
ueberschriftcolor varchar(7) not null
PHP Code:
$ueberschriftcolor = "#000000";
$ueberschriftcolor = addslashes ($ueberschriftcolor);
Fehlermeldung:
1064: You have an error in your SQL syntax near 'varchar(7) ) values ' at line 26
Mfg Markus
Comment