![]() |
|
首页 │ Apache │ Linux│ Java│ MySQL│ 注册│帮助 | |||
相关问题
我现在要做一个查询
就是在文本框输入一段关键字,然后从数据库检索所有的表中符合这个条件的数据
我的查询语句是这么写的?
select * from companyinfor where usermeta = '1' and id>1 and
* * like '%$keyword% ' order by id desc
但是错误提示是:
Error in sql:select * from companyinfor where usermeta = '1' and id>1 and * * like '%1%' order by id desc You have an error in your SQL syntax near '* * like '%1%' order by id desc' at line 1
这个是怎么回事呢?
谢谢大哥大姐的帮助啦!
提问者:zoneboys 08-14 11:11
答复

