Making a demo menu, and I keep getting :
Array ( [0] => 21S01 [1] => 1136 [2] => Column count doesn't match value count at row 1
I have tried recreating my tables, I still cannot seem to find the problem. Everything works until I start adding my menu items with the code below :
if (!empty($_POST['wings'])) {
$wings=$_POST['wings'];
$sql =$DBH->prepare("INSERT INTO orders VALUES ('', :payment_id, 'Boneless Wings and Skins Sampler', :wings)");
$sql->execute( array(':payment_id'=>$payment_id, ':wings'=>$wings) )or die(print_r($sql->errorInfo(), true));
}