#50216 [Opn->Asn]: Example use wrong sql query.

From: Date: Wed, 18 Nov 2009 13:40:32 +0000
Subject: #50216 [Opn->Asn]: Example use wrong sql query.
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3210@lists.php.net to get a copy of this message
ID: 50216 Updated by: abedford@php.net Reported By: ximi at cs dot au dot dk -Status: Open +Status: Assigned Bug Type: Documentation problem Operating System: Irrelevant PHP Version: Irrelevant -Assigned To: +Assigned To: abedford Previous Comments: ------------------------------------------------------------------------ [2009-11-18 10:48:16] ximi at cs dot au dot dk Description: ------------ At http://www.php.net/manual/en/function.mysql-stat.php two examples are given on how to obtain information about the database status. The first example use the mysql_stat() function, the second is meant to show how to use the mysql_query("SHOW STATUS") I think - as this query is mentioned in the Return Values section of the page. But the query actually used in the example is "SHOW VARIABLES". Reproduce code: --------------- --- From manual page: function.mysql-stat#Examples --- ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=50216&edit=1

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