css123456 |
楼主 |
|
|
发表于 2011-10-19 15:22:40 |
回顶端 |
strSQLform="select * from news where title like "& strform "order by ID desc" |
|
wangsdong |
2楼 |
|
|
发表于 2011-10-19 15:28:21 |
回顶端 |
这个sql语句不正确
like需要与%号一起使用
应该改成
strSQLform="select * from news where title like '%"& strform &"%' order
by ID desc" |
|
Copyright(C)2013-2017版权所属asp编程网