lernen prog-p added (nicht alles) 1/2
This commit is contained in:
24
progp/lernen/zusammenfassung_ka1/while-schleifen.php
Normal file
24
progp/lernen/zusammenfassung_ka1/while-schleifen.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
$i=0;
|
||||
|
||||
while ($i < 10) {
|
||||
echo "Diese Schleife durschlief schon ". $i." mal diesen Code!<br>";
|
||||
$i++;
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user