#19403 [Bgs]: Query unexpected error - Not a valid resutl...

From: Date: Sat, 14 Sep 2002 16:24:17 +0000
Subject: #19403 [Bgs]: Query unexpected error - Not a valid resutl...
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19352@lists.php.net to get a copy of this message
 ID:               19403
 User updated by:  jackrap@tin.it
 Reported By:      jackrap@tin.it
 Status:           Bogus
 Bug Type:         MySQL related
 Operating System: Windows XP
 PHP Version:      4.2.3
 New Comment:

I explain another time my problem:

i'm using php 4.2.3 with mysql 3.32.28

my PHP CODE:
$sql = "SELECT * FROM mytable";
$result = mysql_query($sql,$connection);

and PHP output is:
Warning: Supplied argument is not a valid MySQL result resource in
c:\myfile.php on line 5

With PHP 4.1.3 this error doesn't occur, using the same PHP code


Previous Comments:
------------------------------------------------------------------------

[2002-09-14 09:16:17] derick@php.net

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


------------------------------------------------------------------------

[2002-09-14 08:20:30] jackrap@tin.it

I've installed MySQL 3.23.28 and PHP 4.2.3.
After execution of a Query PHP says : "Mysql...is not a valid
result..."

Latest version I used of PHP is 4.1.3 and this error doesn't occur.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=19403&edit=1



Thread (8 messages)

« previous php.bugs (#19352) next »