:::

14-3 comment_new.php

<?php

include '../../mainfile.php';

$com_itemid = isset($_GET['com_itemid']) ? intval($_GET['com_itemid']) : 0;

if ($com_itemid > 0) {
  $sql="select name from ".$xoopsDB->prefix("contact")." where sn='{$com_itemid}'";
    $result=$xoopsDB->query($sql) or redirect_header($_SERVER['PHP_SELF'],3, mysql_error());
    list($name)=$xoopsDB->fetchRow($result);
    //$com_replytext=nl2br($content);
}

$com_replytitle = "給 {$name} 的留言";


include XOOPS_ROOT_PATH.'/include/comment_new.php';
?>


:::

搜尋

QR Code 區塊

https%3A%2F%2Fmail.tad0616.cp22.secserverpros.com%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbdsn%3D115%26tbsn%3D5

書籍目錄

展開 | 闔起

線上使用者

352人線上 (138人在瀏覽線上書籍)

會員: 0

訪客: 352

更多…