View Single Post

  #3 (permalink)  
Old 05-06-2008
Iván Sánchez Ortega
 
Posts: n/a
Default Re: [PDO] Detecting SQL errors?

Gilles Ganault wrote:

[...]
> Is there a way to check that a SQL command completed correctly?


Check out those:
http://php.net/manual/en/pdo.errorcode.php
http://php.net/manual/en/pdo.errorinfo.php


Cheers,
--
----------------------------------
Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-

Un ordenador no es un televisor ni un microondas, es una herramienta
compleja.
Reply With Quote