迅睿開源框架是一款PHP8高性能·簡單易用的PHP開源開發(fā)框架, 基于MIT開源許可協(xié)議發(fā)布,不限制商業(yè)使用,以多端互聯(lián)為設(shè)計(jì)理念, 支持的微信公眾號(hào)、小程序、APP客戶端、移動(dòng)端網(wǎng)站、PC網(wǎng)站等多終端式管理系統(tǒng)。
業(yè)務(wù)經(jīng)理
微信掃描以上二維碼
028-61286886
技術(shù)咨詢
用網(wǎng)站表單做了一個(gè)在線報(bào)名表單,報(bào)名后,后臺(tái)審核。
如何實(shí)現(xiàn)用戶在前臺(tái)通過身份證號(hào)查詢報(bào)名后的審核狀態(tài)?
求助。
需要使用form標(biāo)簽來進(jìn)行模糊匹配,從URL接受參數(shù)傳遞進(jìn)去,思路就是這樣
參考文檔:《網(wǎng)站表單列表調(diào)用》
開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問題!
我最喜歡懸賞(設(shè)置懸賞)貼了
比如你的網(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>
把默認(rèn)模板:template/pc/default/home/form_list.html,復(fù)制成: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}
回復(fù)@靠懸賞(設(shè)置懸賞)賺錢買授權(quán)
私信您了?麻煩看下私信的內(nèi)容。謝謝
需要使用form標(biāo)簽來進(jìn)行模糊匹配,從URL接受參數(shù)傳遞進(jìn)去,思路就是這樣
參考文檔:《網(wǎng)站表單列表調(diào)用》
開源是一種精神,但不是義務(wù),幫忙是情分,不幫也不要抱怨,建議大家多研究代碼、多閱讀代碼、多翻閱社區(qū)歷史問題!
我最喜歡懸賞(設(shè)置懸賞)貼了
比如你的網(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>把默認(rèn)模板:template/pc/default/home/form_list.html,復(fù)制成: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}回復(fù)@靠懸賞(設(shè)置懸賞)賺錢買授權(quán)
私信您了?麻煩看下私信的內(nèi)容。謝謝