[PHP] The document contains no data -->BUG!? From: Alexander Mardirossian (sasho <email protected>)
Date: 11/06/00

Hello all,
I think i have found a bug:
I have installed PHP 4.03pl1 on my SuSE Linux 6.4 with Apache 1.3.12 as
DSO. Everithing during the installation was fine.
I wrote a simple program to test that PHP works but it appeared that it
cannot proccess nested loops!?! Here is a chunk of my <BODY> tag:
The following program DOES work:
<TABLE border=1 width=100% height=90% bgcolor="green">
<?php
for ($i=1; $i<=10;$i++) {
   echo "<TR>";
   $q=1;
// while ((q++)<5) {
    echo "<TD>Row Number: $i, Column Number: $q</TD>";
// }
   echo "</TR>";
}
?>
</TABLE>
Now...
The following program does NOT work:
<TABLE border=1 width=100% height=90% bgcolor="green">
<?php
for ($i=1; $i<=10;$i++) {
   echo "<TR>";
   $q=1;
   while ((q++)<5) {
    echo "<TD>Row Number: $i, Column Number: $q</TD>";
   }
   echo "</TR>";
}
?>
</TABLE>
Note that Neither FOR, nor WHILE loop worked.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I have tested it in both, Netscape 4.75 AND Lynx without success.
Netscape sais "The document contains no data!", Lynx just does not show
anything.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>