Posted by Bob Bedford on 08/06/07 09:34
Hi all,
I've a problem and can't resolve it.
I've a include.inc.php file with only line is a huge query. to make it
simple, the query is $query = "select * from xxx where mode = ".$mode
Now, this file is included in an other PHP form. Here is the code:
$mode = 1;
mysql_query($query...
$mode = 2;
mysql_query($query
the first is OK, but the second isn't ok, it still uses the $mode = 1.
Why ? how to fix it ?
Bob
[Back to original message]
|