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_vc/report/support_management1/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/html/pathumthani_vc/report/support_management1/searchgo.php
<HTML><HEAD>
<TITLE>poctak</TITLE>
<META content="text/html; charset=windows-874" http-equiv=Content-Type>

<link href="../inc/basiccss.css" rel="stylesheet" type="text/css">
<link href="../inc/style.css" rel="stylesheet" type="text/css">
</HEAD>
<BODY bgColor=#ffffff leftMargin=1 text=#000000 topMargin=3>
<?
include ("../inc/conndb.inc.php");

	  	$keyword1 = str_replace("*", "%",$s);
	  	$keyword_se = $keyword_se  . "  keyword  like  '$keyword1'   " ;				
		$sql = " select  *  from  search_engin     where $keyword_se   ";				
		$query_result=mysql_query($sql);  
		echo " <strong>ผลการค้นหาคำว่า $s  <br> " ;
		echo "พบผลการค้นหาจำนวน " . mysql_num_rows($query_result) ." รายการ   <strong><br><br>" ;
		
		while ($result = mysql_fetch_array($query_result)){
				echo "  &nbsp; &nbsp; &nbsp; <strong> </strong>  <a href = '$result[url]' target = _blank >$result[name]</a>  <br> ";		
		
		}

		
		


?>

</body></html>

Anon7 - 2021