I have an error when I try to write to the database.
Error message (I tested it with some values...):
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 'values(Digger, 45_456, 645_645, 6_6, 456_456, 456_45, ' at line 3
My code:
Mysql_query("INSERT INTO
".$balicky_table."
values(".$name.", <-line 3
".$id1."_".$kus1.",
".$id2."_".$kus2.",
".$id3."_".$kus3.",
".$id4."_".$kus4.",
".$id5."_".$kus5.",
".$id6."_".$kus6.",
".$id7."_".$kus7.",
".$id8."_".$kus8.",
".$id9."_".$kus9.",
".$id10."_".$kus10.",
".$id11."_".$kus11.",
".$id12."_".$kus12.",
".$cost.")", $SpojenieWeb) or die(mysql_error());
In database I have type Varchar(100)
values('".$name."',