Jump to content

Need to place a space in a subject line...


rscott7706

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.