I'm using the following code to replace a "space" with a "+" in a canonical link:
Code: Select all
<?php echo str_replace (" ","+",$desc); ?>How would I integrate those srt_replace commands within the existing string?
Any help would be greatly appreciated! Thanks!