:::

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.cp22.secserverpros.com%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbdsn%3D1220%26tbsn%3D39

書籍目錄

展開 | 闔起

線上使用者

321人線上 (129人在瀏覽線上書籍)

會員: 0

訪客: 321

更多…