I’m working on a large registration form with say, 30 vars in the PHP file.
I have :
$firstname = $_POST[‘firstname’];
$lastname = $_POST[‘lastname’];
Later, to output to send to email, I have:
$sender_name=$firstname . $lastname;
Okay, now, I’ve tried to use:
$firstname = $_POST[‘firstname’]. ’ ';
and it worked at first (I even tested it and saw the email), but since I’ve added more vars (b/c the amt of fields in my html form has increased), it doesn’t. It just gets ignored.
What I want is to add a space b/t the 2 so when the email gets sent, the “From” line of the email says, eg.:
From: John Doe
and not
From: JohnDoe