:::

2-5 /save_phone_book.php

<?php
include "header.php";

if($_POST['op']=="textarea"){
  $_POST['value']=str_replace("<br>","\\n",$_POST['value']);
}

$sql = "update " . $xoopsDB->prefix("phone_book") . " set `{$_POST['id']}`='{$_POST['value']}' where sn='{$_POST['sn']}'";

$xoopsDB->queryF($sql);


if($_POST['op']=="textarea"){
  echo str_replace("\\n","<br>",$_POST['value']);
}else{
  echo $_POST['value'];
}

 


:::

搜尋

QR Code 區塊

https%3A%2F%2Ftad0616.cp22.secserverpros.com%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbdsn%3D1219%26tbsn%3D39

書籍目錄

展開 | 闔起

線上使用者

340人線上 (132人在瀏覽線上書籍)

會員: 0

訪客: 340

更多…