발생하는 오류에 따라 아래의 SQL 구문에 마지막 줄 (": closing";))의 오류가 있습니다. 나는 틀린 것을 볼 수 없다. 여기있는 사람이 누구일까요?구문 오류 ... 찾을 수 없습니다.
다른 오류는 발생하지 않습니다. 그냥 구문 오류. 그러나 "..."근처에서 사용할 올바른 구문은 있지만 실행 종료는 244 행을 참조합니다. ') UID :``추가 중괄호 하나가 있어야합니다)'UID :
$save = $database->prepare('INSERT INTO checklists VALUES(:id, :name, :user, :agent, :status, :date_created, :date_submitted, :last_updated, :technique, :machine, :ink, :finish, :item, :thickness, :rolls, :sheets, :deformation, :deformation_details, :surface, :surface_details, :process, :process_details, :quality, :quality_details, :drying, :drying_details, :finishing, :finishing_details, :reason, :how, :uid');
$save->execute(array(
':id' => ' ',
':name' => $name,
':user' => $printer,
':agent' => $agent,
':status' => '0',
':date_created' => $stamp,
':date_submitted' => $sub,
':last_updated' => $stamp,
':technique' => '',
':machine' => '',
':ink' => '',
':finish' => '',
':item' => '',
':thickness' => '',
':rolls' => '',
':sheets' => '',
':deformation' => '',
':deformation_details' => '',
':surface' => '',
':surface_details' => '',
':process' => '',
':process_details' => '',
':quality' => '',
':quality_details' => '',
':drying' => '',
':drying_details' => '',
':finishing' => '',
':finishing_details' => '',
':reason' => '',
':how' => '',
':uid' => $uid
));
은 첫 번째 줄의 끝을 확인 :'); ' – Phantom