session_start(); $theme=$_GET[theme]; //echo $No; //echo $s_User; //echo $s_User; //echo $s_Password; //echo $mid; $Category="SCS"; include("header.php"); //exit(); if( !isset($_SESSION['s_User']) && !isset($_SESSION['s_ID'])){ 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='$No' "; $result11 = mysql_query($sql11); if(!$result11) { echo "Error : Can not update to database"; exit(); } $sql12 = "select * from $smf_data where mid='$mid 'AND No='$No' "; $result12 = mysql_query($sql12); $NRow12 = mysql_num_rows($result12); /* if ($NRow12==0) { header("location:index.php"); exit(); } \*/ ?>
กระดานสนทนา
ShortChargeShock.com
mysql_connect($host,$user,$passwd);
mysql_select_db($dbname);
$sql = "select * from $smf_ans where No='$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"];
$att_path2=$row[imgpath2];
//echo $imageType2;
// ตรวจสอบรูปแบบการแสดง IP Address
?>
"; } ?> [ คลิกกลับหน้ากระทู้รวม ]
|