Combinig 2 Variables into 1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Could someone help me out here, I am tryimg to make two variables into one 
for example:

$to      = 'server';
$subject = test;


$message = $variable1, $variable2;


$headers = 'From: webmaster@' . $_SERVER['SERVER_NAME'] . "\r\n" .
   'Reply-To: webmaster@' . $_SERVER['SERVER_NAME'] . "\r\n" .
   'X-Mailer: PHP/' . phpversion();

mail($to, $subject, $message, $headers);

My problem is that I need to get "variable1" and "variable2" into one 
variable "message", so that it will work with PHP's mail functions.

Thank You! 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux