Fork me on GitHub

Rapport de message :*
 

Re: un seul résultat avec foreach

Titre du sujet : Re: un seul résultat avec foreach
par olivee sur 04/09/2012 01:20:47

Merci Montuy 337513 pour ta reponse je vois ce que tu veux dire t'as raison.

j'ai changé avec ton code je tombe sur des liens avec Array .
search.php?query=Array&mid=8&action=showall&andor=AND
search.php?query=Array&mid=8&action=showall&andor=AND
search.php?query=Array&mid=8&action=showall&andor=AND
search.php?query=Array&mid=8&action=showall&andor=AND
search.php?query=Array&mid=8&action=showall&andor=AND
search.php?query=Array&mid=8&action=showall&andor=AND
search.php?query=Array&mid=8&action=showall&andor=AND

je pense qu'il y a un probleme avec explode, j'ai changé la ligne
$tags_exploded[$i] = explode(" "$articles_arr10['title']);


avec
$tags_exploded[$i] = $articles_arr10['title'];

j'ai comme resultat.


search.php?query=titre de mon article&mid=8&action=showall&andor=AND
search.php?query=titre de mon 3 eme article&mid=8&action=showall&andor=AND
search.php?query=titre de mon 999 article&mid=8&action=showall&andor=AND
search.php?query=titre par hazard&mid=8&action=showall&andor=AND


c'est pas trop pratique j'aimerai avoir comme sortie

search.php?query=titre&mid=8&action=showall&andor=AND
search.php?query=article&mid=8&action=showall&andor=AND
search.php?query=999&mid=8&action=showall&andor=AND
search.php?query=hazard&mid=8&action=showall&andor=AND



si tu peux vérifier encore une fois. merci.


Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

44 Personne(s) en ligne (37 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 44 | Plus ...