PHP: décrémentation impossible
Résolu/Fermé
markaz
Messages postés
331
Date d'inscription
mercredi 18 avril 2007
Statut
Membre
Dernière intervention
16 septembre 2015
-
17 mai 2011 à 15:44
Utilisateur anonyme - 17 mai 2011 à 16:17
Utilisateur anonyme - 17 mai 2011 à 16:17
A voir également:
- PHP: décrémentation impossible
- Easy php - Télécharger - Divers Web & Internet
- Expert php pinterest - Télécharger - Langages
- Php?id=1 - Forum PHP
- Retour à la ligne php ✓ - Forum PHP
- Retour a la ligne avec Echo comment faire ? - Forum Webmastering
1 réponse
Utilisateur anonyme
17 mai 2011 à 16:05
17 mai 2011 à 16:05
Bonjour,
La faute était là $k>=1960 sinon $k=1960 tout de suite
La faute était là $k>=1960 sinon $k=1960 tout de suite
<?php for ($k=2011; $k>=1960; $k--){
17 mai 2011 à 16:14
17 mai 2011 à 16:17