Re: Warning Message using pg_***
| From: | Analysis & Solutions | Date: | Thu, 11 Jul 2002 22:31:29 +0000 |
| Subject: | Re: Warning Message using pg_*** | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-107256@lists.php.net to get a copy of this message | ||
On Thu, Jul 11, 2002 at 11:14:24AM -0700, David Busby wrote:
>
> 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?
... snip ...
> <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>
Write your code so it doesn't go to a non existent row in the result set?
At least that's what it looks like to my non-pg-user eyes.
> printf("<option value=\"%s\"", $ec->uuid);
Uh, why are you using printf rather than just echoing? Kind of wasteful,
let alone harder to read.
echo "<option value=\"$ec->uuid\"";
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sqlsolution.info | layoutsolution.info | formsolution.info
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409