Jump to content

display utf8_bin data from mysql in php page


zohab

Recommended Posts

hi all

 

i have one column in my table(mysql database) varchar(255) and utf8_bin(Collation)

 

now i want to display column data but i is not displying properly..

 

<?php

 

      header('Content-type: text/html; charset=UTF-8') ;

 

include("inc.php");

 

mysql_query("SET NAMES 'cp1256'");

 

$qry_keyword = "select * from bs_keyword ";

$res_keyword = mysql_query($qry_keyword);

// $row_keyword = mysql_fetch_array($res_keyword);

?>

 

any ideas?

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.