Boucle

Beschreibung

Mindmap am Boucle, erstellt von akiel42 am 05/06/2015.
akiel42
Mindmap von akiel42, aktualisiert more than 1 year ago
akiel42
Erstellt von akiel42 vor mehr als 10 Jahre
3
0

Zusammenfassung der Ressource

Boucle
  1. while

    Anmerkungen:

    • <?php $texte = 0; while ($texte < 5) { echo '<p>je repète encore cette phrase ' . (5 - $texte) . ' fois</p>'; $texte++; } ?>
    1. erreur

      Anmerkungen:

      • parenthèse après while
      1. tous types de boucle
      2. for

        Anmerkungen:

        • <?php for ($texte = 0; $texte < 5; $texte++) { echo '<p>je repète encore cette phrase ' . (5 - $texte) . ' fois</p>'; } ?>
        1. erreur

          Anmerkungen:

          • point virgule pour séparer les commandes de for
          1. quand on connaît le nombre de répétition
          2. incrémentation
            1. $variable++;

              Anmerkungen:

              • equivaut à $variable = $variable + 1;
            Zusammenfassung anzeigen Zusammenfassung ausblenden

            ähnlicher Inhalt

            Test I. Introduction to web technologies
            Angel Martínez Rodriguez
            Evaluación de Programación (MYSQL y PHP)
            Mitchel Romero C
            OpenSource Programming
            Faheem Ahmed
            PHP Exam One
            tr.badhan
            PHP & MySQL
            hratg
            PHP intro
            Māris Ozoliņš
            Programming and Scripting Skills Needed
            neteng33
            Chapter 6: PHP
            Rebecca Walton
            Plugin Development
            Joshua Reeves