[問題] sql語法讀取textbox裡的資料
<input type="text" name="T1" size="14">
text=Request.form("T1")
sql="select Content from Bookinfo where Title like '%<%=text>%'"
請問一下大大們:
現在的問題就在於我無法用text所打的字還做關鍵字搜尋
like '%_ _ _ _ %' 裡面我應該要怎麼輸入才能 抓text寫的字做關鍵字搜尋???
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.126.52.149
→
12/21 02:19, , 1F
12/21 02:19, 1F