Warning Message using pg_***
| From: | David Busby | Date: | Thu, 11 Jul 2002 18:14:24 +0000 |
| Subject: | Warning Message using pg_*** | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-107198@lists.php.net to get a copy of this message | ||
List,
I'm using PG functions like below and I'm wondering how to get rid of that dang Warning message? PHP.ini setting? or can I turn on/off error checking?
$rs is the result from pg_exec() (inside the other function)
[PHP Code]
$rs = get_database_stuff("list");
$irow = 0;
while ($ec = pg_fetch_object($rs, $irow)) {
printf("<option value=\"%s\"", $ec->uuid);
if ($ec_uuid == $ec->uuid) { printf(" selected"); }
printf(">%s</option>\n", $ec->name);
$irow++;
}
[Resulting HTML]
<option value="C878CD32A3DB4CC98DEF1D5E1BCD4E30">Zhuhai Formula One</option>
<br>
<b>Warning</b>: Unable to jump to row 920 on PostgreSQL result index 3 in <b>/var/www/html/default.php</b> on line <b>89</b><br>
</select></td></tr>