Jump to content

[SOLVED] displaying info in messages


pjheliking

Recommended Posts

I have made a mailing function to coincide with someone registering on the site now i can get it to work when i dont make the message dynamic here is the code as is

 

<?php



// Your email address

$email = $row_mailer['emailaddress'];

$sender = "[email protected]" ;

$address = $row_mailer['emailaddress'];

$password = $row_mailer['password'];

$forumusername = $row_forum['username'];

// The subject


$subject = "BLAAA Acount Activation";



// The message

$message = "Thank you for registering with BLAA <p><p> Your Details are below <p><p> Log In Username = $adress  Password = $password <p> Forum Username =  $forumusername <p><p> You can edit your forum profile by logging on to www.blaa.co.uk.  ;



mail($email, $subject, $message, "From: $sender");


what i am having trouble with is the displaying the information it comes out with T-STRING error now how can i make this information display correctly so that it will send the email.

 

Any help wud be appreciated

 

thanks

 

 

Link to comment
https://forums.phpfreaks.com/topic/116037-solved-displaying-info-in-messages/
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.