IE - very strange problem
| From: | Christian Ribeaud | Date: | Thu, 30 Aug 2001 09:06:59 +0000 |
| Subject: | IE - very strange problem | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-9128@lists.php.net to get a copy of this message | ||
Hi,
I have been advised that the homepage http://www.predict.ch/
does not
work with some browser/OS combinations.
The problem seems to be the following code's lines:
$result = mysql_query($sql,$db)
or die("Please check your query and try again");
$db is defined in an included file:
$db = @mysql_pconnect("localhost","xxx","yyy");
@mysql_select_db("predict",$db);
and $sql looks so:
$sql = "SELECT " . $HTTP_SESSION_VARS["language"] . "_title as title,
"
.
$HTTP_SESSION_VARS["language"] . "_abstract as abstract, " .
$HTTP_SESSION_VARS["language"] . "_content as content " .
"FROM news where showIt = 'TRUE' ORDER BY published DESC";
with $HTTP_SESSION_VARS["language"] = table_read("language");
The most visitors get the index.php4 with the query correctly shown. 2
people (Win98 or Millenium/IE 5 or 6beta) get the die procedure:
"Please check your query and try again" and I really do not understand
why. I am really confused and would like to solve this problem.
Could someone help me?
Greetings,
christian