note 95833 rejected from pdostatement.fetchcolumn by thiago

From: Date: Mon, 25 Jan 2010 12:52:12 +0000
Subject: note 95833 rejected from pdostatement.fetchcolumn by thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-165276@lists.php.net to get a copy of this message
Note Submitter: casey AT yahoo DOT com ---- I don't know why this information isn't here, but: PDOStatement::fetchColumn() will throw a PDOException if there are zero rows returned from the database, and presumably when there's any other sort of error encountered, but hey, who needs to document that sort of stuff?

« previous php.notes (#165276) next »