rscott7706 Posted March 6, 2007 Share Posted March 6, 2007 I have an activation routine that sends me an email when someone signs up for our members only site. All works great except I cannot seem to get a space between their first and last name. In the third line of the coding ($subject = $fname . $lname . " needs to be activated" below, can you help me put a hard space between $fname and $lname? $email_admin = "[email protected]"; $headers = 'From: Admin <[email protected]>'; $subject = $fname . $lname . " needs to be activated"; $msg .= "Of Company: $company \n"; $msg .= "Please open the database EGCAORGA_USERS and table USERS then change the activation code from 0 to 1, for:\n"; $msg .= "First Name - $fname, Last name - $lname\n"; $msg .= "User Id - $userid, Password - $password\n"; $msg .= "Email - $email\n"; $msg .= "Company - $company"; Link to comment https://forums.phpfreaks.com/topic/41367-need-to-place-a-space-in-a-subject-line/ Share on other sites More sharing options...
AndyB Posted March 6, 2007 Share Posted March 6, 2007 $subject = $fname. " ". $lname . " needs to be activated"; Link to comment https://forums.phpfreaks.com/topic/41367-need-to-place-a-space-in-a-subject-line/#findComment-200418 Share on other sites More sharing options...
rscott7706 Posted March 6, 2007 Author Share Posted March 6, 2007 Thanks AndyB... I am still struggling with coding, I appreciate your quick response!! Link to comment https://forums.phpfreaks.com/topic/41367-need-to-place-a-space-in-a-subject-line/#findComment-200421 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.