Luca
Luca

Reputation: 20959

null value when trying to display french words (with accent)

Hi all when i try to display this word : INTERMARCHÉ from my MySql data base i got null, help please :) the collation for the corresponding column is utf8_unicode_ci

EDIT

 $nomsDesStations=$this->db->query('SELECT DISTINCT ssiphone_enseigne from ssiphone_recherche where ssiphone_enseigne!="AUTRE"');
  array_push($tousLesNomsDesStations,"");
                 while($enseigneEnCours=$nomsDesStations->fetch()){

                 array_push($tousLesNomsDesStations,$enseigneEnCours['ssiphone_enseigne']);

       }

and for display :

foreach($tousLesNomsDesStations as $valeur){
         echo $valeur['ssiphone_enseigne']."<br />";
       }

Upvotes: 1

Views: 125

Answers (0)

Related Questions