Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

pdo error message

try{
	//your pdo query here
}
catch(PDOException $e) {
	echo json_encode(array('Error'=>$e->getMessage()));
}
 
PREVIOUS NEXT
Tagged: #pdo #error #message
ADD COMMENT
Topic
Name
9+5 =