In PHP, I'm echoing a mix of strings and variables. I want to be able to automatically add a space between each piece, so I don't have to add a ' ' each time.
Example:
echo "This is my" . $string . ".";
This will output "This is mystring". is there some function I can wrap the echo in that will automatically place a space between? Thanks