Hello again,
I have another question; when I enter the % manually, then it works, why is that?
Like, when I enter solar%panel it finds solar panel, but when i enter solarpanel it dont? why is a manually "wildcard" solar%panel readable but a function inputing solar%panel not readable? :s
function moreWords($val){$val = str_replace(" ","%", $val);echo $val;}morewords("solar panel");
will output solar%panel, and should return the same value when sent as a string through the return $val i use?
but it don't.. I really find it tempting to ask users to enter a % when searching with multiplie words.. though people might find that as an unpleasant user experience?