Link to home
Create AccountLog in
Avatar of wantabe2
wantabe2Flag for United States of America

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?
$details .= "First  Name: ".$row["employee_fname"]."\n";
$details .= "Last Name: ".$row["employee_lname"]."\n";

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of JF0
JF0
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer