> I need to combine two variables which are set to two form field values and
> will be put into $from of mail(). Should it be $from = "$varOne . $varTwo"
> ?
Check out :
Using Strings :
---------------------------------------------------------
http://www.zend.com/zend/tut/using-strings.php
PHP Manual : Strings :
---------------------------------------------------------
http://www.php.net/manual/en/language.types.string.php
The above will explain everything. The following will work :
$var_a = 'the';
$var_b = 'dog';
$from = $var_a . $var_b; // thedog
$from = $var_a . ' big ' . $var_b; // the big dog
Regards,
Philip Olson
http://www.cornado.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]