urbanroute
05-06-2009, 10:26 PM
This was been posted before but for version 2: Check it out here:
phplinkdirectory (dot) com/forum/showthread.php?t=23982&highlight=Apostrophe
I'm having the same issue with version 3.4.0.
Any listings with apostrophes are not found when searching with apostrophes.
IE: Frank's Auto Shop
Search Query: Frank's Auto Shop
= no results found.
I have clean urls on so my url looks like this:
directory/index (dot) php?search=Frank's+Auto+Shop
If I escape the apostrophes it works:
directory/index (dot) php?search=Frank\'s+Auto+Shop
I've looked into the code a little bit but I'm hoping someone else has a quick solution.
Hints for my referrence:
function clean_search_query
phplinkdirectory (dot) com/forum/showthread.php?t=23982&highlight=Apostrophe
I'm having the same issue with version 3.4.0.
Any listings with apostrophes are not found when searching with apostrophes.
IE: Frank's Auto Shop
Search Query: Frank's Auto Shop
= no results found.
I have clean urls on so my url looks like this:
directory/index (dot) php?search=Frank's+Auto+Shop
If I escape the apostrophes it works:
directory/index (dot) php?search=Frank\'s+Auto+Shop
I've looked into the code a little bit but I'm hoping someone else has a quick solution.
Hints for my referrence:
function clean_search_query