Salut,

je suis tombé sur un explode qui ne marche pas :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
echo "texte : ".$texte."<br>";
$texte1=explode(" ",$texte);
echo "(apres explode) texte0=".$texte1[0]." texte1=".$texte1[1]." texte2=".$texte1[2]." texte3=".$texte1[3]." texte4=".$texte1[4]." texte5=".$texte1[5]."<br>";
Résultat :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
texte : http://www.google.fr ,, google ,, 
(apres explode) texte0=http://www.google.fr texte1= texte2=,, texte3=google texte4= texte5=,,
Comment faire ?