ID: 11785
Updated by: derick
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: MySQL related
Operating system:
PHP Version: 4.0.6
Assigned To:
Comments:
Try putting this line after the mysql_unbuffered_query line.
You'll probably see the error that MySQL returns. This is most likely a bug in PHP.
Derick
Previous Comments:
---------------------------------------------------------------------------
[2001-06-28 13:40:17] [EMAIL PROTECTED]
I have mysql table with over 60000 records inside.
code:
$sql = "SELECT * FROM database.table ORDER BY field";
$result = mysql_unbuffered_query($sql) or die("Error!");
does not work at all but displays "Error!"
code:
$sql = "SELECT * FROM database.table ORDER BY field limit 1,1000";
$result = mysql_unbuffered_query($sql) or die("Error!");
works fine.
code:
$sql = "SELECT * FROM database.table";
$result = mysql_unbuffered_query($sql) or die("Error!");
works fine.
Moreover , there is exactly the same problem with mysql_query() function...
My system is:
PHP: 4.0.6
MySQL: 3.23.22
Linux Kernel: 2.2.17-14
Help!!!
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11785&edit=2
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]