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

From: Date: Fri, 28 Aug 2015 13:35:03 +0000
Subject: Doc #70373 [Ver->Csd]: Wrong function in mysql_num_fields() documentation alternative list
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12678@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: Verified +Status: Closed Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant Assigned To: cmb Block user comment: N Private report: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2015-08-28 00:43:59] cmb@php.net Automatic comment from SVN on behalf of cmb Revision: http://svn.php.net/viewvc/?view=revision&revision=337656 Log: try to fix wrong alternative to mysql_num_fields (would fix #70373) ------------------------------------------------------------------------ [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 (#12678) next »