ID: 22636 User updated by: real_mctl at yahoo dot fr Reported By: real_mctl at yahoo dot fr -Status: Feedback +Status: Open Bug Type: MySQL related Operating System: Linux Red Hat 7.2 PHP Version: 4.3.1 New Comment:
no need to copy the entire code (huge app). the code before and after mysql_query is correct. Previous Comments: ------------------------------------------------------------------------ [2003-03-11 11:20:17] [EMAIL PROTECTED] And add a _FULL_ but short example script here, not just 2 lines from one.. ------------------------------------------------------------------------ [2003-03-11 11:19:37] [EMAIL PROTECTED] huh? What if you remove that @ from the mysql_query() call? ------------------------------------------------------------------------ [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