나는이 PDO SQL 쿼리 실행하고 있습니다 :PDO 잘못된 매개 변수 번호 오류 메시지
$stmt = $pdo_conn->prepare("INSERT into ticket_updates (ticket_seq, notes, datetime, updatedby, customer, internal_message) values (:ticket_seq, :notes, :datetime, :updatedby, :customer, :internal_message) ");
$stmt->execute(array(':ticket_seq' => $ticketnumber,
':notes' => addslashes($message),
':datetime' => date("Y-m-d H:i:s"),
':updateedby' => $last_updated_by,
':customer' => 'Y',
':internal_message' => 'no'));
을하지만,이 오류가 점점 :
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY093]: Invalid parameter number: parameter was not defined' in /home/integra/public_html/autocheck/support_emails.php:479 Stack trace: #0 /home/integra/public_html/autocheck/support_emails.php(479): PDOStatement->execute(Array) #1 {main} thrown in /home/integra/public_html/autocheck/support_emails.php on line 479
메신저 확실하지 않은 문제가 무엇인지, 다른 모든 쿼리가 잘 작동을
감사합니다. - 긴 하루였습니다. :) – charlie
우리 모두에게 일어납니다. – Goikiu