<?php
$host = "localhost";
$user ="root";
$password = "xxxx";
$database = "xxxxxx";
$link = mysql_connect($host,$user,$password) or die(mysql_error());
mysql_select_db($database) or die(mysql_error());
mysql_query("SET CHARACTER SET tis620");
//mysql_query("set character set utf8");
?>