note 12255 deleted from function.pg-fetch-array by felipe

From: Date: Tue, 22 Jul 2008 19:10:23 +0000
Subject: note 12255 deleted from function.pg-fetch-array by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-142558@lists.php.net to get a copy of this message
Note Submitter: buyaka AT ragingbull DOT com ---- An easier way to loop through the result with pg_fetch_array() and turn off error reporting is like so: for($i=0; $row = @pg_fetch_array($result,$i); $i++) { echo $row["field_name"]; } The '@' before the function name turns off error reporting.

« previous php.notes (#142558) next »