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>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php