|
Server : Apache/2.2.2 (Fedora) System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686 User : apache ( 48) PHP Version : 5.2.9 Disable Function : NONE Directory : /home/pathumthani_integration/integration/application/industry/ |
Upload File : |
<?
//header("Content-type: text/html; charset=utf-8");
mysql_connect( "123.242.173.130", "sapphire", "sprd!@#$%" );
mysql_select_db( "joom_psdoc");
mysql_query("SET NAMES 'UTF8' ");
$strSqlAll="SELECT * FROM tbl_ccaa LIMIT 10 "; //(year(now())+543)
//echo $strSqlYear;
$rsAll = mysql_query($strSqlAll);
while( $row = mysql_fetch_assoc($rsAll)){
echo iconv("utf-8","tis-620",$row['ccName'])."/".iconv("tis-620","utf-8",$row['ccName'])."/".$row['ccName']."</br>";
}
echo 'กกกกกกกกกก ';
?>