WilliamMute007
Programmer
Hi Guys,
I dont know if am running insane or there's actually something wrong with my insert query that am just not seeing.
Any help will be much appreciated.. thanks in advance
I keep getting the error
#1064 - 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 '"INSERT INTO `nrawardsc1`.`votes` (`id` ,
`restaurant_name` ,
`atmosphere` ,
' at line 1
I dont know if am running insane or there's actually something wrong with my insert query that am just not seeing.
Any help will be much appreciated.. thanks in advance
Code:
"INSERT INTO `nrawardsc1`.`votes` (`id` ,
`restaurant_name` ,
`atmosphere` ,
`buka` ,
`business_lunch` ,
`chef` ,
`contemporary` ,
`creative_menu` ,
`customer_service` ,
`draw_soup` ,
`egusi_soup` ,
`entertainment` ,
`family_friendly` ,
`grilled_fish` ,
`nra_restaurant` ,
`outdoor_catering` ,
`pepper_soup` ,
`restaurant_decoration` ,
`rice_dish` ,
`sea_food` ,
`sunday_buffet` ,
`suya` ,
`takeaway` ,
`traditional_restaurant` ,
`traditional_soup` ,
`value_for_money` ,
`website` ,
`yam_pottage`
) VALUES ( NULL, 'restaurant', 'atmosphere', 'buka', 'business_lunch', 'chef', 'contemporary', 'creative_menu', 'customer_service', 'draw_soup', 'usi_soup', 'entertainment', 'family_friendly', 'grilled_fish', 'nra_restaurant', 'outdoor_catering', 'pepper_soup', 'restaurant_decoration', 'rice_dish', 'sea_food', 'sunday_buffet', 'suya', 'takeaway', 'traditional_restaurant', 'traditional_soup', 'value_for_money', 'website', 'yam_pottage')";
I keep getting the error
#1064 - 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 '"INSERT INTO `nrawardsc1`.`votes` (`id` ,
`restaurant_name` ,
`atmosphere` ,
' at line 1