|
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 : /var/www/html/pathumthani_eoffice/application/bin/document_bk v 1test/ |
Upload File : |
<?php
session_start();
include("../../config/config.inc.php");
header("Content-Type: text/html; charset=windows-874"); //แก้ไขปัญหาการดึงข้อมูลภาษาไทยออกมาเป็น '????$234'
if ( $_GET['word'] ) {
$strSQL = "SELECT * FROM doc_projectgroup
WHERE
subword='".$_GET['word']."' limit 1";
$rsConn = mysql_query($strSQL);
$Row = mysql_num_rows($rsConn);
if ( $Row>0 ) {$fullword=mysql_fetch_assoc($rsConn); echo $fullword[mainword];}
}
?>