This problem is so strange that I am almost ashamed to ask it (but not quite).
I write the following code:
<html>
<body>
<?PHP
$width = 10;
$height = 10;
for ($i = 0; $i < width; $i++)
{
for ($j = 0; $j < height; $j++)
{
$k = $i + $j;
echo ($k);
echo ("$nbsp;");
}
echo ("<br>");
}
?>
</body>
</html>
Ordinarily it should give me a rectangle made up of numbers. However upon execution, I get a blank screen. Viewing the source reveals a whooping this:
<html>
<body>
</body>
</html>
What am I missing?
Thanks in advance
Zawar