Debug execute mysql statement[
<?php
// Debug statement, will output if there are errors in the statement
$statement->execute() or die(print_r( $statement->errorInfo(), true) );
// default
// $statement->execute();
$statement->closeCursor();