:::

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%3Ftbsn%3D39%26tbdsn%3D1219

書籍目錄

展開 | 闔起

線上使用者

45人線上 (12人在瀏覽線上書籍)

會員: 0

訪客: 45

更多…