Affichage de variable
romain86
-
Brachior Messages postés 616 Statut Membre -
Brachior Messages postés 616 Statut Membre -
Bonjour,
j'aimerais pouvoir additionner des variables et cette addition je la mette dans une autre variable. Je sais pas comment m'expliquer. Mais la syntaxe que je vais vous montrer ne fonctionne pas car il m'affiche rien
Syntaxe :
$resSelIndivTotal = ($resSelIndivMais)+($resSelIndivBle)+($resSelIndivBledur)+($resSelIndivProteagineux)+
($resSelIndivSorgho)+($resSelIndivTabac)+($resSelIndivProduclegum)+$resSelIndivTournesol+
$resSelIndivBletendre+$resSelIndivOrge+$resSelIndivPrairies+$resSelIndivAutres);
$verifinfo = mysql_num_rows($resSelIndivTotal );
<td> <font color="red"><BIG><strong>Attention</strong></font> sur <?php echo $nbIrrigant; ?>
irrigants,<?php echo $verifinfo; ?> irrigants
à avoir cultivés du maïs pour l'année <?php echo $annee; ?></BIG></td>
POuvez-vous m'aider???
Merrci d'avance
j'aimerais pouvoir additionner des variables et cette addition je la mette dans une autre variable. Je sais pas comment m'expliquer. Mais la syntaxe que je vais vous montrer ne fonctionne pas car il m'affiche rien
Syntaxe :
$resSelIndivTotal = ($resSelIndivMais)+($resSelIndivBle)+($resSelIndivBledur)+($resSelIndivProteagineux)+
($resSelIndivSorgho)+($resSelIndivTabac)+($resSelIndivProduclegum)+$resSelIndivTournesol+
$resSelIndivBletendre+$resSelIndivOrge+$resSelIndivPrairies+$resSelIndivAutres);
$verifinfo = mysql_num_rows($resSelIndivTotal );
<td> <font color="red"><BIG><strong>Attention</strong></font> sur <?php echo $nbIrrigant; ?>
irrigants,<?php echo $verifinfo; ?> irrigants
à avoir cultivés du maïs pour l'année <?php echo $annee; ?></BIG></td>
POuvez-vous m'aider???
Merrci d'avance
A voir également:
- Affichage de variable
- Affichage double ecran - Guide
- Windows 11 affichage classique - Guide
- Problème affichage fenêtre windows 10 - Guide
- Problème affichage page internet google chrome ✓ - Forum Google Chrome
- Affichage ips processeur graphique ✓ - Forum Matériel & Système