Erreur Undefined variable:

inizar Messages postés 217 Statut Membre -  
inizar Messages postés 217 Statut Membre -
Bonjour,
une solution pour l'erreur ?
Notice: Undefined variable: retour in C:\wamp\www\test.php on line 89

function shoot($data){
$buffer=explode(' ',$data);
foreach($buffer as $lettre){
$retour.=chr($lettre);
}
return $retour;
}

Merci beaucoup



--
The Second place is the first loser
A voir également:
  • Erreur Undefined variable:
  • Erreur t32 - <a href="https://forums.commentcamarche.net/forum/livebox-200">Forum Livebox</a>
  • Erreur s3 bbox - <a href="https://forums.commentcamarche.net/forum/bbox-bouygues-285">Forum Bbox Bouygues</a>
  • Erreur 4101 - <a href="https://forums.commentcamarche.net/forum/carte-graphique-181">Forum Carte graphique</a>
  • Iptv erreur de lecture - <a href="https://forums.commentcamarche.net/forum/tv-video-21">Forum TV & Vidéo</a>
  • Erreur France TV : impossible de lire les vidéos en replay - <a href="https://forums.commentcamarche.net/forum/lecteurs-et-supports-video-245">Forum Lecteurs et supports vidéo</a>

1 réponse

Nhay Messages postés 838 Date d'inscription   Statut Membre Dernière intervention   126
 
Essaye ceci :
function shoot($data){ 
$retour="";
$buffer=explode(' ',$data); 
foreach($buffer as $lettre){ 
$retour.=chr($lettre); 
} 
return $retour; 
}
1
inizar Messages postés 217 Statut Membre 15
 
Merci beaucoup , ça marche :)
0