Doc #70373 [Opn->Ver]: Wrong function in mysql_num_fields() documentation alternative list

From: Date: Fri, 28 Aug 2015 00:41:48 +0000
Subject: Doc #70373 [Opn->Ver]: Wrong function in mysql_num_fields() documentation alternative list
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12677@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70373&edit=1 ID: 70373 Updated by: cmb@php.net Reported by: asphp at dsgml dot com Summary: Wrong function in mysql_num_fields() documentation alternative list -Status: Open +Status: Verified Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant -Assigned To: +Assigned To: cmb Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2015-08-27 19:52:59] asphp at dsgml dot com Description: ------------ --- From manual page: http://www.php.net/function.mysql-num-fields --- This page lists mysqli_field_count() as an alternative, but the correct alternative is actually mysqli_num_fields(). (The two functions do different things.) Note that if you search for mysqli_num_fields you won't find it (See Bug #49956). It can be found here: http://php.net/manual/en/mysqli-result.field-count.php ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=70373&edit=1

« previous php.doc.bugs (#12677) next »