Jump to content

how to search only letters and numbers in tables


jason310771

Recommended Posts

I wish to know how google does their search, say there is a road called St. John's Road in my database and I type in my ajax-auto-sugestion field...

St John

How can I get the auto-selection to show the road that is LIKE the content but do not use the . or the ' in the database

If I was to start to type...

St. John

then it would of course show the suggestion as I used the .

Can this be done ?

My fields have the proper names of the roads and I use utf8_general_ci for the road name field and the LIKE method to get the results.

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.