note 89351 rejected from function.pg-field-name by thiago
| From: | thiago@php.net | Date: | Wed, 04 Mar 2009 14:26:58 +0000 |
| Subject: | note 89351 rejected from function.pg-field-name by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-151452@lists.php.net to get a copy of this message | ||
Note Submitter: focus dot vente at laposte dot net
----
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