hi,
i have a variable called $title that contains a few names separated with "+".
Example: "Bob + Roger + Arnold"
i'd like to replace each element with a link :
<a hef="search.php?query=Bob">Bob</a> + <a hef="search.php?query=Roger">Roger</a> + <a hef="search.php?query=Alfred">Alfred</a>
could anyone please give me a PHP code to do this? thanks 🙂