Jump to content

[SOLVED] SEARCH


jaymc

Recommended Posts

I am creating a postcode lookup tool, Im just wondering how to combat this little problem I have

 

A postcode comes in this structure

 

L12 8AK

 

And thats how its stored in the database

 

If someone types there postcode like this  L128AK it will return 0 results

 

The obvious is to have a tool tip or something giving them the format, but to go one further, how can I make mysql find the match regardless of whether they have entered a space demonstrated above

Link to comment
https://forums.phpfreaks.com/topic/99872-solved-search/
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.