wantabe2
asked on
PHP Code Question
I have the code below that is sending an email with various fields out of my MySQL database. AT this time, the code below is sending the email but the employee first name & employee last name is seperated like:
First Name: John
Last Name: Doe
I need the email to read
Employee Full Name: John Doe
The code below is just the email line. How can I adjust this code to read the full name on one line?
First Name: John
Last Name: Doe
I need the email to read
Employee Full Name: John Doe
The code below is just the email line. How can I adjust this code to read the full name on one line?
$details .= "First Name: ".$row["employee_fname"]."\n";
$details .= "Last Name: ".$row["employee_lname"]."\n";
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.