To get the SQLSTATE, you can either use $e->getCode() or $e->errorInfo[0] ; to get the MySQL error code, you must do $e->errorInfo[1] . Note, ...
確定! 回上一頁