:::

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.net%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbdsn%3D1219%26tbsn%3D39

書籍目錄

展開 | 闔起

線上使用者

57人線上 (21人在瀏覽線上書籍)

會員: 0

訪客: 57

更多…