|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-07-22 08:44 UTC] grant dot croker at ingres dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 10:00:01 2025 UTC |
Description: ------------ When fetching the first column name with array_index_start 0 the error: Warning: ingres_field_name(): php_ii_field_name() called with wrong index (-1) in /home/grant/public_html/php/pecl/2.0/ingres/ingres_field_name.php on line 23 Reproduce code: --------------- <?php ini_set('display_errors', 1); ini_set('error_reporting', E_ALL); ini_set('ingres.array_index_start',0); $ingres_database = "iidbdb"; $query = "select * from iitables"; $link = ingres_connect($ingres_database); $result_set = ingres_query($link, $query); echo ingres_field_name($result_set,0); ?> Expected result: ---------------- table_name Actual result: -------------- Warning: ingres_field_name(): php_ii_field_name() called with wrong index (-1) in /home/grant/public_html/php/pecl/2.0/ingres/ingres_field_name.php on line 23