note 9905 added to for
| From: | gehring at rundblick dot de | Date: | Thu, 30 Nov 2000 14:38:17 +0000 |
| Subject: | note 9905 added to for | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8296@lists.php.net to get a copy of this message | ||
I have a problem with the for-function!
The source is:
<?
$k=0;
for($k=0;$k < 10;$k++)
{
echo "$k<br>";
}
?>
and the output is:
20
1
2
3
4
5
6
7
8
9
what's that ???
How can help me. My PHP-Verison is v.3.x.
Thanx for your answers.
http://www.php.net/manual/control-structures.for.php