Hi all,
First of all, I'm a newbie at this so bare with me, I'm making a database driven site for my parents shop and it ain't working 🙁
this is the query I'm trying to use
mysql_query ("insert into besteloostkamp (datum, b1103, b1101, b1104, b1105, b1014, b1013, b1015, b1018, b1016, b1017, b2103, b2101, b2105, b1106, b1107, b2106, b3102, b3101, b3013, b1050, b1051, b1701, b1551, b1554, b1703, b1560, b1501, b1511, b1605, b1570, b1571, b1622, b1621, b1620, b3020, b3021, b3022, b6034, b6031, b5001, b5002, b5003, b5004, b5005, b5006, b5007, b5009, b5008, b5010, b5014, b5011, b5012, b5015, b5013, b1003, b1001, b1004, b1005, b2003, b2001, b2005, b1006, b1007, b2006, b3002, b3001, b1601, b1553, b1556, b1703b, b1503, b1513, b1605b, b6032, b1552, b1555, b1502, b1502b, b6033, b6001, b6002, b6005, b6007, b6004, b6006, b6101, b6301, b6201, b6401, b6207, b7001, b7006, b7011, b7016, b7021, b7100, b7105, b7026, b7095, b7031, b7041, b7120, b7080, b7065, b7115, b8002, b8802, b8081, b8091, b8071, b8101, b8042, b8045, b8171, b8531, b8545, b8111, b8062, b8121, b8211, b7141, b7131, b7151, b8561, b8501, b8151, b7049, b7050, b2501, b2502, b7002, b7007, b7012, b7017, b7022, b7101, b7106, b7027, b7096, b7032, b7042, b7121, b7081, b7066, b7116, b8004, b8804, b8082, b8092, b8072, b8102, b8044, b8046, b8173, b8541, b8112, b8063, b8122, b8213, b8562, b8502, b8152, b7003, b7008, b7013, b7018, b7023, b7102, b7108, b7028, b7097, b7034, b7043, b7122, b7082, b7067, b7117, b8005, b8805, b8083, b8093, b8073, b8103, b8047, b8174, b8113, b8064, b8123, b8214, b8563, b8503, b8153)
values ($datum, $b1103, $b1101, $b1104, $b1105, $b1014, $b1013, $b1015, $b1018, $b1016, $b1017, $b2103, $b2101, $b2105, $b1106, $b1107, $b2106, $b3102, $b3101, $b3013, $b1050, $b1051, $b1701, $b1551, $b1554, $b1703, $b1560, $b1501, $b1511, $b1605, $b1570, $b1571, $b1622, $b1621, $b1620, $b3020, $b3021, $b3022, $b6034, $b6031, $b5001, $b5002, $b5003, $b5004, $b5005, $b5006, $b5007, $b5009, $b5008, $b5010, $b5014, $b5011, $b5012, $b5015, $b5013, $b1003, $b1001, $b1004, $b1005, $b2003, $b2001, $b2005, $b1006, $b1007, $b2006, $b3002, $b3001, $b1601, $b1553, $b1556, $b1703b, $b1503, $b1513, $b1605b, $b6032, $b1552, $b1555, $b1502, $b1502b, $b6033, $b6001, $b6002, $b6005, $b6007, $b6004, $b6006, $b6101, $b6301, $b6201, $b6401, $b6207, $b7001, $b7006, $b7011, $b7016, $b7021, $b7100, $b7105, $b7026, $b7095, $b7031, $b7041, $b7120, $b7080, $b7065, $b7115, $b8002, $b8802, $b8081, $b8091, $b8071, $b8101, $b8042, $b8045, $b8171, $b8531, $b8545, $b8111, $b8062, $b8121, $b8211, $b7141, $b7131, $b7151, $b8561, $b8501, $b8151, $b7049, $b7050, $b2501, $b2502, $b7002, $b7007, $b7012, $b7017, $b7022, $b7101, $b7106, $b7027, $b7096, $b7032, $b7042, $b7121, $b7081, $b7066, $b7116, $b8004, $b8804, $b8082, $b8092, $b8072, $b8102, $b8044, $b8046, $b8173, $b8541, $b8112, $b8063, $b8122, $b8213, $b8562, $b8502, $b8152, $b7003, $b7008, $b7013, $b7018, $b7023, $b7102, $b7108, $b7028, $b7097, $b7034, $b7043, $b7122, $b7082, $b7067, $b7117, $b8005, $b8805, $b8083, $b8093, $b8073, $b8103, $b8047, $b8174, $b8113, $b8064, $b8123, $b8214, $b8563, $b8503, $b8153)
");
echo mysql_error();
when I then try it i get the following error :
You have an error in your SQL syntax near ' 321, 1, 321, 1, 321, 321, 321, 21, 321, 321, 321, 31, 321, , , , , , , , , , , ' at line 2
Could it be that I'm trying to put to much data in it at once?
I can't find the syntax error in that query so if anybody could help me?
Oh , I tried to find around were the error occured and the values the error shows tell me that the erros is somewhere around the following line :
$b1003, $b1001, $b1004, $b1005, $b2003, $b2001, $b2005
If anybody could help me I would be very gratfull thx in advance
Greetz
P.S. just excuse me for the long post, I just wanted to include the complete query ...