Re: Combinig 2 Variables into 1
| From: | Jason Barnett | Date: | Fri, 29 Apr 2005 13:09:22 +0000 |
| Subject: | Re: Combinig 2 Variables into 1 | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-25936@lists.php.net to get a copy of this message | ||
Maxwell Brodie wrote:
Hello, Could someone help me out here, I am tryimg to make two variables into one for example:$message = $variable1 . $variable2;$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!