note 89351 added to function.pg-field-name
| From: | focus dot vente at laposte dot net | Date: | Wed, 04 Mar 2009 13:44:38 +0000 |
| Subject: | note 89351 added to function.pg-field-name | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-151448@lists.php.net to get a copy of this message | ||
In fact, this code must be modified to avoid a "Bad column offset" warning.
The following line :
echo "Taille affichée : ".pg_field_prtlen($res, $fieldname)."
caractères\n";
must be modified in :
echo "Taille affichée : ".pg_field_prtlen($res, $j)." caractères\n";
and every thing works correctly
----
Server IP: 89.31.146.176
Probable Submitter: 86.216.255.217
----
Manual Page -- http://www.php.net/manual/en/function.pg-field-name.php
Edit -- https://master.php.net/note/edit/89351
Del: integrated -- https://master.php.net/note/delete/89351/integrated
Del: useless -- https://master.php.net/note/delete/89351/useless
Del: bad code -- https://master.php.net/note/delete/89351/bad+code
Del: spam -- https://master.php.net/note/delete/89351/spam
Del: non-english -- https://master.php.net/note/delete/89351/non-english
Del: in docs -- https://master.php.net/note/delete/89351/in+docs
Del: other reasons-- https://master.php.net/note/delete/89351
Reject -- https://master.php.net/note/reject/89351
Search -- https://master.php.net/manage/user-notes.php