co robię źle ?
$data[]='aa'; $data[]='bb'; foreach($data as $row=>$war) { $statement->bindValue("':{$war}'", $war, PDO::PARAM_STR); } $statement->execute(); $error = $statement->errorInfo(); if($error[0]) { }
Pojawia się błąd, że jest nieprawidłowa liczba parametrów.