AIDE EN PHP
boby87000
Messages postés
113
Date d'inscription
Statut
Membre
Dernière intervention
-
boby87000 Messages postés 113 Date d'inscription Statut Membre Dernière intervention -
boby87000 Messages postés 113 Date d'inscription Statut Membre Dernière intervention -
Bonjour,
Bonjour,
j'ai un probleme dans mon code PHP.
je parce un fichier en php et recupere les contenus des champs
foreach($array_fichier as $clef=>$ligne)
{
//on parcours le tableau donc le contenu du fichier ligne par ligne
$array_ligne=explode(',',$ligne); //on sépare par raport à la virgule
//affichage
echo '<tr>'; //une ligne a chaque
echo '<td>'.$array_ligne[3].'</td>'; // on recupere les champs de chaque colonne
echo '<td>'.$array_ligne[4].'</td>';
echo '<td>'.$array_ligne[6].'</td>';
echo '<td>'.$array_ligne[7].'</td>';
echo '<td>'.$array_ligne[8].'</td>';//affiche l'URL complet c'est a dire
echo '</tr>';
}
mon probleme:
le echo '<td>'.$array_ligne[8].'</td>';//affiche tous les URL complet c'est a dire:
"http://js.prep.fr/preps/fra/jse/V9-3-0-7/VM/ah/gD/Application/ItineraryPage/ItineraryPage.js"
ou
" http://rc.production.orangeads.fr/Tag/orangefr/JS/Default/Gt.js?d=5093395892031778"
ou
"http://ad.doubleclick.net/noidadj/via_ban_3_1005x90_hp/;sz=1005x90"
Mon soucis c'est encore de récupérer et comptabiliser tous les js ou rc juste après le http:// ensuite de les afficher
comment je peux faire.
merci pour votre aide.
Bonjour,
j'ai un probleme dans mon code PHP.
je parce un fichier en php et recupere les contenus des champs
foreach($array_fichier as $clef=>$ligne)
{
//on parcours le tableau donc le contenu du fichier ligne par ligne
$array_ligne=explode(',',$ligne); //on sépare par raport à la virgule
//affichage
echo '<tr>'; //une ligne a chaque
echo '<td>'.$array_ligne[3].'</td>'; // on recupere les champs de chaque colonne
echo '<td>'.$array_ligne[4].'</td>';
echo '<td>'.$array_ligne[6].'</td>';
echo '<td>'.$array_ligne[7].'</td>';
echo '<td>'.$array_ligne[8].'</td>';//affiche l'URL complet c'est a dire
echo '</tr>';
}
mon probleme:
le echo '<td>'.$array_ligne[8].'</td>';//affiche tous les URL complet c'est a dire:
"http://js.prep.fr/preps/fra/jse/V9-3-0-7/VM/ah/gD/Application/ItineraryPage/ItineraryPage.js"
ou
" http://rc.production.orangeads.fr/Tag/orangefr/JS/Default/Gt.js?d=5093395892031778"
ou
"http://ad.doubleclick.net/noidadj/via_ban_3_1005x90_hp/;sz=1005x90"
Mon soucis c'est encore de récupérer et comptabiliser tous les js ou rc juste après le http:// ensuite de les afficher
comment je peux faire.
merci pour votre aide.
A voir également:
- AIDE EN 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