寻找帮助(求助 [英] search help

查看:72
本文介绍了寻找帮助(求助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以帮我调整我的脚本,以便我可以在我的数据库中搜索多个单词,


我的关键字feild看起来像这样...... 。

展开 | 选择 | Wrap | 行号

解决方案

这篇文章对你有所帮助: http://devzone.zend.com/article/1304


< blockquote>我已阅读文章,并尝试了许多组合,但仍然无法解决。我以前从未做过搜索脚本,我发现它有点困难,任何其他人都可以帮助我更多一点。


忘记代码并首先解决你的查询命令行或SQL客户端界面。


为什么你的查询得不到任何结果?它有错误吗?所有字段都存在吗?


为什么你要搜索id,price等单词,而不仅仅是''keyword''和''description''字段?



Dan


can some one please help me adapt my script so that i can search for multiple words within my database,


my keywords feild looks something like this....

Expand|Select|Wrap|Line Numbers

解决方案

This articles should be of some help to you: http://devzone.zend.com/article/1304


I have read the articles and iv tryed many combinations but still cant work it out. I have never done a search script before and im finding it a bit difficult, can any 1 else help me out a bit more please.


Forget the code and first work out your query from a command line or an SQL client interface.

Why doesn''t your query get any results? Does it have an error? Do all the fields exist?

Why are you searching words in id, price, etc instead of just ''keyword'' and ''description'' fields?



Dan


这篇关于寻找帮助(求助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆