• <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>
  • PHP文本數據庫的搜索方法

    發表于:2007-07-14來源:作者:點擊數: 標簽:


    PHP文本數據庫的搜索方法 searchstr=("/".preg_quote($searchstr)."/"); //$searchstr是查找的關鍵字 $records=file($file);//獲取所有的記錄數 //$file是查找的數據文件 $search_reocrds=preg_grep ($searchstr, $records);//開始查找記錄 //$search_reocrds為查找到的記錄數 unset($records); if($search_records){ //開始顯示記錄,寫下你自己的處理程序******************** while (list ($key, $val) = each ( $search_records)) { echo "$val
    "; } //**************************************************** }

    原文轉自:http://www.kjueaiud.com

    老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月

  • <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>