开发者

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

开发者 https://www.devze.com 2023-03-03 11:53 出处:网络
Hi all wheni try to display this word : INTERMARCHÉ from my MySql data base i got null, help please :)

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开发者_如何学JAVA!="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 />";
       }
0

精彩评论

暂无评论...
验证码 换一张
取 消