Jump to content

[SOLVED] Retrieving "alike" fields


flaab

Recommended Posts

Hello all =)

 

I'm from Spain so sorry about my lame english.

 

I'm programming a little search engine for my website. It looks up over keywords(tags) stored in the database.

 

My question is...what if i want to suggest to the user "alike" tags to search for? Here is an example.

 

John searches for "kiss" and nothing is retrieved.

But in the database there is a keywords named "kisses".

 

How can i tell John..."We suggest you to try kisses"??

 

I tried a query like this but it did not work: SELECT tag FROM `tags` WHERE name = 'kiss*'

 

I'll appreciate any help. Thanks in advance.

 

Link to comment
https://forums.phpfreaks.com/topic/39931-solved-retrieving-alike-fields/
Share on other sites

Archived

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

×
×
  • Create New...

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.