#23143 [Opn->Ana]: use of MYSQL_USE_RESULT; MYSQL_STORE_RESULT in mysql_query

From: Date: Fri, 11 Apr 2003 01:57:27 +0000
Subject: #23143 [Opn->Ana]: use of MYSQL_USE_RESULT; MYSQL_STORE_RESULT in mysql_query
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969352527@lists.php.net to get a copy of this message
ID: 23143 Updated by: iliaa@php.net Reported By: nightkin at msn dot com -Status: Open +Status: Analyzed -Bug Type: MySQL related +Bug Type: Documentation problem Operating System: Win 2000 PHP Version: 4.3.0 New Comment: The documentation is wrong, there are 2 functions, mysql_query(), which will buffer the results and mysql_unbuffered_query(), which will not ;). The 3rd parameter to those two functions is a documentation snafoo, they only accept 2 arguments each. You should use mysql_query() or mysql_unbuffered_query() depending on how you want to fetch data. Previous Comments: ------------------------------------------------------------------------ [2003-04-09 18:31:09] nightkin at msn dot com seems that these constants (MYSQL_USE_RESULT; MYSQL_STORE_RESULT) are not defined!! at least php issues a notice when i try to use them and later when i call: mysql_query($sql, $conn, $resultMode) it says: wrong parameter count for mysql_query() Thanks ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23143&edit=1

« previous php.doc (#969352527) next »