I have Thai,Japan,Korea Character (3 Fields) in Access file.
I created a script in PHP to connect to this file
but character on display is shown ??????? ??????? and ??????
What to SET to show normal character
This is my script
<html>
<head>
<title>TEST</title>
</head>
<body>
<?
$objConnect = odbc_connect("test","","") or die("Error Connect to Database");
$strSQL = "SELECT * FROM table1";
$objExec = odbc_exec($objConnect, $strSQL) or die ("Error Execute [".$strSQL."]");
?>
<table width="600" border="1">
<tr>
<th width="20"> <div align="center">ID </div></th>
<th width="30"> <div align="center">Thai </div></th>
<th width="30"> <div align="center">Korea </div></th>
<th width="30"> <div align="center">Japan </div></th>
</tr>
<?
while($objResult = odbc_fetch_array($objExec))
{
?>
<tr>
<td><?=$objResult["ID"];?></div></td>
<td><?=$objResult["Thai"];?></td>
<td><?=$objResult["Korea"];?></td>
<td><?=$objResult["Japan"];?></div></td>
</tr>
<?
}
?>
</table>
<?
odbc_close($objConnect);
?>
</body>
</html>
Or try in line :