I have a PHP file in that I have declared a JavaScript variable.
I will get that variable value while I am opening the page directly by type the my URL on IE6.
But the problem is if I am clicking a href link to open the same page got particular variable undefined error on IE6.
After undefined error if I refresh the same page I can get the variable value.
I am using script tag to load the page
as like
<script language="javascript" src="commonjs.php"></script>
In my commonjs.php
<? include_once("myconffile.php"); ?>
var myvars = <?=$varConfValue['domainname']?>
Please help me on this.
short_open_tagis enabled? Afaik, by default it is not.