ID:               22636
 Updated by:       [EMAIL PROTECTED]
 Reported By:      real_mctl at yahoo dot fr
-Status:           Open
+Status:           Feedback
 Bug Type:         MySQL related
 Operating System: Linux Red Hat 7.2
 PHP Version:      4.3.1
 New Comment:

huh? What if you remove that @ from the mysql_query() call?



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

[2003-03-11 10:21:14] real_mctl at yahoo dot fr

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 this bug report at http://bugs.php.net/?id=22636&edit=1

Reply via email to