I have a file called inc.php which contains
<PHP
$lang[1] = "Word number 1";
$lang[2] = "Another word 2";
$lang[3] = "And this is the 3";
?>
and I am including this file in main.php, but when I use echo $lang[1]; or $lang[2]; or whatever it is from $lang it shows only the first letter 😕.so if I use
echo $lang[1]."<br>".$lang[2]."<br>"$lang[3];
it returns me
W
A
A
The strange think is that this problem is occuring only on some PHP versions and only in Internet Explorer.
(PHP version 4.2.2)