php-windows Digest 29 Apr 2005 21:30:22 -0000 Issue 2652
Topics (messages 25935 through 25938):
Re: Combinig 2 Variables into 1
25935 by: Wu, Jin Yong
25936 by: Jason Barnett
new column in mysql
25937 by: Ross Hulford
25938 by: Ross Hulford
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
dot operator (.) can not solve your problem?
-----Original Message-----
From: Maxwell Brodie [mailto:[EMAIL PROTECTED]
Sent: Friday, April 29, 2005 11:03 AM
To: [email protected]
Subject: [PHP-WIN] Combinig 2 Variables into 1
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
--- End Message ---
--- Begin Message ---
Maxwell Brodie wrote:
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;
$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!
--- End Message ---
--- Begin Message ---
Hi,
I have a table with 15 columns or so that has been inherited from an older
db and am trying to insert an auto increment column (in mysql) without
having to number it manually. This is fine when I add new colums via a form
but the old entries have a null value
Alternatively It has been converted from Excel soif anyone knows how to do
it that way that would help.I never use Excel so have no clue about it.
R.
--- End Message ---
--- Begin Message ---
Hi,
I have a table with 15 columns or so that has been inherited from an older
db and am trying to insert an auto increment column (in mysql) without
having to number it manually. This is fine when I add new colums via a form
but the old entries have a null value
Alternatively It has been converted from Excel soif anyone knows how to do
it that way that would help.I never use Excel so have no clue about it.
R.
--- End Message ---