Code: Select all
function replace()
{
document.getElementById('search').keywords.value = document.getElementById('search').keywords.value.replace('-', ' ');
}
Code: Select all
<input class="button2" value="{L_SEARCH}" type="submit" onclick="replace()"/>
Code: Select all
$keywords = utf8_normalize_nfc(request_var('keywords', '', true));
Code: Select all
$keywords = "\"".utf8_normalize_nfc(request_var('keywords', '', true))."\"";
No, it is NOT possible also with mysql search !triadruid wrote:That's true, but only if you're using the full native search. mysql search is slightly more 'logical', but isn't enabled in all installations.
Yes, you're right.triadruid wrote:Apologies, I didn't note the "subject-line only" caveat in your post.
Code: Select all
$keywords = str_replace('-', ' ', $keywords);