RECUPERE DES CHAMPS EN PHP
boby87000
Messages postés
132
Statut
Membre
-
Zep3k!GnO Messages postés 2049 Statut Membre -
Zep3k!GnO Messages postés 2049 Statut Membre -
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/"
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.
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/"
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:
- RECUPERE DES CHAMPS EN PHP
- Easy php - Télécharger - Divers Web & Internet
- Comment récupérer des messages supprimés sur whatsapp - Guide
- Expert php pinterest - Télécharger - Langages
- Récupéré au terminal de fret - Forum Consommation & Internet
- Php alert ✓ - Forum PHP