如何在SQLLITE中基于首字母执行搜索短语?腓 [英] How to perform search phrase based on initial letters in SQLLITE? Php
本文介绍了如何在SQLLITE中基于首字母执行搜索短语?腓的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我如何执行基于首字母的搜索。我的表名是Entertain,columnName是电影描述。我想要这种类型的搜索:
这里是截图
img [ ^ ]
我的尝试:
How can i perform search which is based on initial letters.My table name is Entertain and columnName is movie description.And i want this type of search:
Here is screenshot
img[^]
What I have tried:
$src= $_POST['search'];
$sql =<<
推荐答案
src =
_POST [' search'];
_POST['search'];
sql =<<
sql =<<
这篇关于如何在SQLLITE中基于首字母执行搜索短语?腓的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文