I need help would anybody no how to replace all the spaces within a sentence or phrase and replace them with + using a code. thanks alot
<?php $qry = "this is my test"; $qry = trim($qry); $spremoved = str_replace(" ", "+",$qry); echo "$spremoved"; ?> PHP: