From:             real_mctl at yahoo dot fr
Operating system: Linux Red Hat 7.2
PHP version:      4.3.1
PHP Bug Type:     MySQL related
Bug description:  the function mysql_query makes errors in PHP variables

It's simple, my entreprise updated the version of PHP, from 4.1.2 to
4.3.1.
The problem is that when the function mysql_query is executing some query,
this function overwrite all data on my PHP script even the query itself !

An example (the query is indeed correct) :

$query = "select * from table" ;
$result = @mysql_query($query,$idCnx) ;
The execution of the query crashes, return 1 (don't return a ressource id)
and owerwrite the content of $query to an empty value !


Thanks
-- 
Edit bug report at http://bugs.php.net/?id=22636&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22636&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22636&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22636&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22636&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22636&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22636&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22636&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22636&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22636&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22636&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22636&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22636&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22636&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22636&r=gnused

Reply via email to