迅睿開源框架是一款PHP8高性能·簡單易用的PHP開源開發(fā)框架, 基于MIT開源許可協(xié)議發(fā)布,不限制商業(yè)使用,以多端互聯(lián)為設計理念, 支持的微信公眾號、小程序、APP客戶端、移動端網(wǎng)站、PC網(wǎng)站等多終端式管理系統(tǒng)。
業(yè)務經(jīng)理
微信掃描以上二維碼
028-61286886
在線咨詢
用網(wǎng)站表單做了一個在線報名表單,報名后,后臺審核。
如何實現(xiàn)用戶在前臺通過身份證號查詢報名后的審核狀態(tài)?
求助。
需要使用form標簽來進行模糊匹配,從URL接受參數(shù)傳遞進去,思路就是這樣
參考文檔:《網(wǎng)站表單列表調(diào)用》
開源是一種精神,但不是義務,幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問題!
我最喜歡懸賞(設置懸賞)貼了
比如你的網(wǎng)站表單叫 aaaa
訪問網(wǎng)站列表的地址是:/index.php?s=form&c=aaaaa
<form class="search-form" action="/index.php" method="get"> <input type="hidden" name="s" value="form"> <input type="hidden" name="c" value="aaaaaa"> <input type="text" placeholder="搜索內(nèi)容..." name="kw"> <button class="btn default" type="submit"> 搜索 </button> </form>
把默認模板:template/pc/default/home/form_list.html,復制成:template/pc/default/home/aaaaa_list.html
再改aaaaa_list.html里面 的代碼
{php $where = urlencode('字段名 LIKE "'.$_GET['kw'].'"');} {form form=$form_table where=$where page=1 urlrule=$urlrule pagesize=5} <li> <a href="{Router::form_show_url($form_table, $t.id)}" class="title">{dr_strcut($t.title, 60)}</a> <span>{$t.inputtime}</span> </li> {/form}
回復@靠懸賞(設置懸賞)賺錢買授權(quán)
私信您了?麻煩看下私信的內(nèi)容。謝謝
需要使用form標簽來進行模糊匹配,從URL接受參數(shù)傳遞進去,思路就是這樣
參考文檔:《網(wǎng)站表單列表調(diào)用》
開源是一種精神,但不是義務,幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問題!
我最喜歡懸賞(設置懸賞)貼了
比如你的網(wǎng)站表單叫 aaaa
訪問網(wǎng)站列表的地址是:/index.php?s=form&c=aaaaa
<form class="search-form" action="/index.php" method="get"> <input type="hidden" name="s" value="form"> <input type="hidden" name="c" value="aaaaaa"> <input type="text" placeholder="搜索內(nèi)容..." name="kw"> <button class="btn default" type="submit"> 搜索 </button> </form>把默認模板:template/pc/default/home/form_list.html,復制成:template/pc/default/home/aaaaa_list.html
再改aaaaa_list.html里面 的代碼
{php $where = urlencode('字段名 LIKE "'.$_GET['kw'].'"');} {form form=$form_table where=$where page=1 urlrule=$urlrule pagesize=5} <li> <a href="{Router::form_show_url($form_table, $t.id)}" class="title">{dr_strcut($t.title, 60)}</a> <span>{$t.inputtime}</span> </li> {/form}回復@靠懸賞(設置懸賞)賺錢買授權(quán)
私信您了?麻煩看下私信的內(nèi)容。謝謝