$subject = "dd.com || User Varification"; $message = " Dear $first_name $last_name, Thank you for registering! You are two steps away from joining dd.com. To activate your membership, please click here: http://www.dd.com/activate.php?id=$userid&code=$db_password Once you activate your memebership, you will be able to login with the following information: Username: $username Password: $random_password Thank you, dd.com Staff This is an automated response, please do not reply!"; mail($email_address, $subject, $message, "From: dd.com <email@example.com>\n" );
From novice to tech pro — start learning today.