I'm currently editing some Wordpress auto-respond emails for an events website we're building and I'm having problems with formatting in PHP. I'm a bit of a PHP noob, so excuse me if this is a stupid question. I've been searching for about an hour an can't find a fix.
Here's the PHP string:
<h2><?php printf( __( 'Hello %s!', 'tp-event-auth' ), $user_name ); ?></h2>
This is displaying as "Hello,User" with no spaces - obviously there needs to be a space just after the comma - how can I achieve this?
If you need anymore info I'd be happy to supply.