Php
MiDi__
Messages postés
7
Date d'inscription
Statut
Membre
Dernière intervention
-
Titial69 Messages postés 259 Date d'inscription Statut Membre Dernière intervention -
Titial69 Messages postés 259 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
Notice: Undefined variable: f1 in c:\program files\easyphp1-8\www\devoir\fact.php on line 2
Notice: Undefined variable: f2 in c:\program files\easyphp1-8\www\devoir\fact.php on line 2
et voila ma fonction
<?
$n=$f1+$f2;
function fact($n)
{
if($n === 0)
{
return 1;
}
else
{
return $n*fact($n-1);
}
}
vriment je n'ai trouvé pas la solution puvez vous m'aidez??
Notice: Undefined variable: f1 in c:\program files\easyphp1-8\www\devoir\fact.php on line 2
Notice: Undefined variable: f2 in c:\program files\easyphp1-8\www\devoir\fact.php on line 2
et voila ma fonction
<?
$n=$f1+$f2;
function fact($n)
{
if($n === 0)
{
return 1;
}
else
{
return $n*fact($n-1);
}
}
vriment je n'ai trouvé pas la solution puvez vous m'aidez??
A voir également:
- Php
- Easy php - Télécharger - Divers Web & Internet
- Expert php pinterest - Télécharger - Langages
- Retour a la ligne php - Forum Webmastering
- Alert php - Forum PHP
- Retour a la ligne php ✓ - Forum PHP