Bug #71639 [Fbk->NoF]: mysqli_fetch_field_direct def returns blank

From: Date: Sun, 06 Mar 2016 04:22:27 +0000
Subject: Bug #71639 [Fbk->NoF]: mysqli_fetch_field_direct def returns blank
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-199621@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71639&edit=1 ID: 71639 Updated by: php-bugs@lists.php.net Reported by: andrew dot collier82 at yahoo dot com dot au Summary: mysqli_fetch_field_direct def returns blank -Status: Feedback +Status: No Feedback Type: Bug Package: MySQLi related Operating System: Windows 8.1 PHP Version: 5.5.32 Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2016-02-21 11:02:47] ab@php.net Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. Thanks for the report. We need a complete reproduce case with the complete code, table creation and some data that reproduce the issue. Thanks. ------------------------------------------------------------------------ [2016-02-21 03:10:33] andrew dot collier82 at yahoo dot com dot au Description: ------------ mysqli_fetch_field_direct does not return any value for default. Test script: --------------- $colInc=0; while ($colInc < mysqli_num_fields($result)){ $field = mysqli_fetch_field_direct($result, $colInc); $returnFields[] = $field->name; $returnFieldType[] = $field->type; $returnFieldDefault[] = $field->def; $colInc++; } ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=71639&edit=1

« previous php.bugs (#199621) next »