Jump to content

Archived

This topic is now archived and is closed to further replies.

Skyotica

Search Help

Recommended Posts

Hello, I am trying to fix the search for my site.

It is a search for users and item names in the database.

The problem is whenever a user submits "ITEM " instead of "ITEM", they recieve a "This item does not exist" message. I have seen many sites that allow users to submit either form of this. How would I be able to achieve this?

Share this post


Link to post
Share on other sites
[!--quoteo(post=379512:date=Jun 2 2006, 08:49 PM:name=Skyotica)--][div class=\'quotetop\']QUOTE(Skyotica @ Jun 2 2006, 08:49 PM) [snapback]379512[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Hello, I am trying to fix the search for my site.

It is a search for users and item names in the database.

The problem is whenever a user submits "ITEM " instead of "ITEM", they recieve a "This item does not exist" message. I have seen many sites that allow users to submit either form of this. How would I be able to achieve this?
[/quote]

whats the query your using? please show sum code

Share this post


Link to post
Share on other sites
Use the trim function to remove the trailing spaces from the string being searched

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.