Hi folks,
banging head with an error again for hours now .
first my table layout is
number of bound variables does not match number of tokens’
$query = $db->prepare("INSERT
INTO customers(name,city,address,phone,jointed_date)
VALUES(:name,:city,:address,:phone,joined_date)");
$query->execute(array(':name' => $name,
':city' => $city,
':address' => $address,
':phone' => $phone,
':joined_date' => $date));
$affected_rows = $query->rowCount();
pls help.