note 71302 added to function.pdostatement-execute

From: Date: Tue, 21 Nov 2006 18:54:04 +0000
Subject: note 71302 added to function.pdostatement-execute
Groups: php.notes 
Request: Send a blank email to php-notes+get-119956@lists.php.net to get a copy of this message
If you don't want to turn on exception raising, then try this: //$dbErr = $dbHandler->errorInfo(); OR $dbErr = $dbStatement->errorInfo(); if ( $dbErr[0] != '00000' ) { print_r($dbHandler->errorInfo()); die( "<div class='redbg xlarge'>FAILED: $msg</div><br />".$foot); // or handle the error your way... } echo "SUCCESS: $msg<br />"; ... continue if succesful ---- Server IP: 216.194.113.175 Probable Submitter: 148.87.1.171 (proxied: 1.1 inet-nc02 (NetCache NetApp/5.6.2R1D19)) ---- Manual Page -- http://www.php.net/manual/en/function.pdostatement-execute.php Edit -- https://master.php.net/note/edit/71302 Del: integrated -- https://master.php.net/note/delete/71302/integrated Del: useless -- https://master.php.net/note/delete/71302/useless Del: bad code -- https://master.php.net/note/delete/71302/bad+code Del: spam -- https://master.php.net/note/delete/71302/spam Del: non-english -- https://master.php.net/note/delete/71302/non-english Del: in docs -- https://master.php.net/note/delete/71302/in+docs Del: other reasons-- https://master.php.net/note/delete/71302 Reject -- https://master.php.net/note/reject/71302 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#119956) next »