Tableau PHP

Tableau PHP - PHP - Programmation

Marsh Posté le 15-01-2008 à 18:45:39    

Bonjour,
 
J'aimerais savoir pourquoi mes données sont en double dans mon tableau ?
 
Merci!
 

Code :
  1. $r_ca = mysql_query("SELECT nom,prenom FROM `ATS_membre` WHERE MONTH(fete) = month(now()) and day(fete) = day(now())order by ATS_membre.nom" );
  2. $files=Array();
  3. while ($tableau = mysql_fetch_array($r_ca) ) {
  4.  array_push($files, implode('|',$tableau));
  5. }
  6. print 'Nb de fiches : '.(count($files)).'<br>';
  7. print_r ($files);


 
Résultat du print_r: Array ( [0] => BRAUCHI|BRAUCHI|DESIREE|DESIREE [1] => MERCIER|MERCIER|ANDREE-ANNE|ANDREE-ANNE [2] => PELLETIER|PELLETIER|MELYNA|MELYNA )

Reply

Marsh Posté le 15-01-2008 à 18:45:39   

Reply

Marsh Posté le 15-01-2008 à 18:50:29    

Merci!

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed