Ik heb dit in een php bestand staan counter.php, hij zou na 12 keer moeten stoppen maar dat is niet het geval, hij blijft maar doortellen
<html>
<head>
<title>Counter</title>
</head>
<body>
<?php
$counter = 1;
While( $Counter <= 12 )
{
print "$counter times 2 is ".($counter*2)."<br>";
$counter++;
}
?>
</body>
</html>
http://members.lycos.nl/neorejnielk/counter.php
Ik heb hem ook al op mn eigen apache gehad met hetzelfde resultaat.
<html>
<head>
<title>Counter</title>
</head>
<body>
<?php
$counter = 1;
While( $Counter <= 12 )
{
print "$counter times 2 is ".($counter*2)."<br>";
$counter++;
}
?>
</body>
</html>
http://members.lycos.nl/neorejnielk/counter.php
Ik heb hem ook al op mn eigen apache gehad met hetzelfde resultaat.