Possible Duplicate:
Add a prefix to each item of a PHP array
I try to use Boolean mode full text search.
If a user types more than two words, it supposes to make like this.
Search Keyword : Apple Macbook Air
Result : +Apple +Macbook +Air
So, I made a php command to make this happen, but didn’t work.
$ArrayKeywords = explode(" ", $b_keyword);
for($i = 0; $i < sizeof($ArrayKeywords); $i++)
$array_keyword = '+"$ArrayKeywords[$i]" ';
can you tell me how to make this happen?
Can also do (demo)