session_start(); $Category="SCS"; include("header.php"); //echo $No; //echo $s_User; //echo $s_User; if( !isset($_SESSION['s_User']) && $_SESSION['s_ID']==0){ header("location:index.php"); exit(); } /* if (isset($Msg_msg)) { header("location:#postq"); } */ include("config.inc.php"); //$from =$_ENV["COMPUTERNAME"]; mysql_connect($host,$user,$passwd); mysql_select_db($dbname); $sql11 = "update $smf_data set readcount=readcount+1 where No='".$_GET['No']."' "; $result11 = mysql_query($sql11); if(!$result11) { echo "Error : Can not update to database"; exit(); } $sql12 = "select * from $smf_data where Name='$s_User' AND No='".$_GET['No']."' "; $result12 = mysql_query($sql12); $NRow12 = mysql_num_rows($result12); ?>
กระดานสนทนา 
            ShortChargeShock.com 
        
  
          
 
	$sql = "select * from $smf_ans where No='".$_GET['No']."'  "; 
	$result = mysql_query($sql);
	$NRow = mysql_num_rows($result);
	$row = mysql_fetch_array($result);
		// กำหนดค่าตัวแปร เพื่อนำไปแสดง
		$No = $row["No"];
		$QuestionNo = $row["QuestionNo"];
		$Name = $row["Name"];
		$Member = $row["Member"];
		$mid = $row["mid"];
		$Email = $row["Email"];
		$Msg = $row["Msg"];
		$Date = $row["Date"];
		$imgpath2 = $row["imgpath2"];
		$imageType2 = $row["imageType2"];
		$youtube2= $row["youtube"];
		
		$att_path2=$row['imgpath2'];
		
		//echo $imageType2;
		// ตรวจสอบรูปแบบการแสดง IP Address 
		
?>
         
        "; } ?> [ คลิกกลับหน้ากระทู้รวม ] 
 
 
  |