:::

2-6 /get_name.php

<?php
include "header.php";

//$_GET['term']

$sql = "select `name` from " . $xoopsDB->prefix("phone_book") . "  where `name` like '%{$_GET['term']}%'";

$result = $xoopsDB->queryF($sql);

while(list($name) = $xoopsDB->fetchRow($result)){
  $arr[]=$name;
}

echo json_encode($arr);

 


:::

搜尋

QR Code 區塊

https%3A%2F%2Ftad0616.net%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbsn%3D39%26tbdsn%3D1220

書籍目錄

展開 | 闔起

線上使用者

52人線上 (6人在瀏覽線上書籍)

會員: 0

訪客: 52

更多…