<?php
header("Content-type:type/html;charset=utf-8");
mysql_connect('localhost','root','');
mysql_select_db('test');
mysql_query('set names utf8');
$query=mysql_query('select * from item');
print_r(mysql_fetch_array($query));
?>
<?php
header("Content-type:type/html;charset=utf-8");
mysql_connect('localhost','root','');
mysql_select_db('test');
mysql_query('set names utf8');
$query=mysql_query('select * from item');
print_r(mysql_fetch_array($query));
?>