กระดานสนทนา (Q & A)

|  ตั้งกระทู้ใหม่ (Q) |  แสดงหัวข้อกระทู้  |
แสดงกระทู้
กระทู้ที่ : $no
"; echo "
กระทู้ที่ : $no
"; $sql="select * from webboard where no=$no"; $table= mysql_query($sql,$conn) or die(mysql_error()); if($row=mysql_fetch_array($table)){ $r_ipaddress=$row["ipaddress"]; $r_stamp=$row["stamp"]; $r_subject=htmlspecialchars($row["subject"]); $r_detail=htmlspecialchars($row["detail"]); $r_name=htmlspecialchars($row["name"]); $r_email=htmlspecialchars($row["email"]); $r_detail=ereg_replace(chr(13),"
",$r_detail); ?> "; //*echo ""; echo "".($r_subject).""; //echo ""; echo ""; ?>
".tis2utf8($r_subject)."
".tis2utf8($r_detail)."
 
จากคุณ : ".tis2utf8($r_name)." [ ".substr($r_stamp,0,16)."]
".($r_detail)."
 
จากคุณ : ".($r_name)." [ ".substr($r_stamp,0,16)."]
".substr($r_stamp,0,16)."

เว็บบอร์ด"; } $sql="select * from webboarddetail where no=$no order by commentno"; $table= mysql_query($sql,$conn) or die(mysql_error()); while($row=mysql_fetch_array($table)){ $r_commentno=$row["commentno"]; $r_commentipaddress=$row["commentipaddress"]; $r_commentstamp=$row["commentstamp"]; $r_commentdetail=htmlspecialchars($row["commentdetail"]); $r_commentname=htmlspecialchars($row["commentname"]); $r_commentemail=htmlspecialchars($row["commentemail"]); $r_commentdetail=ereg_replace(chr(13),"
",$r_commentdetail); ?> "; //*echo ""; echo ""; //*echo ""; //*echo ""; //echo ""; echo ""; ?>
".tis2utf8($r_commentdetail)."
 
".($r_commentdetail)."
 
จากคุณ : ".tis2utf8($r_commentname)." [".substr($r_commentstamp,0,16)."]
".($r_commentdetail)."
 
จากคุณ : ".($r_commentname)." [".substr($r_commentstamp,0,16)."]
".substr($r_commentstamp,0,16)."

ร่วมแสดงความคิดเห็น
"; ?>
 
* ความคิดเห็น :
* โดย :