note 84938 rejected from language.expressions by danbrown
| From: | danbrown@php.net | Date: | Wed, 06 Aug 2008 17:14:59 +0000 |
| Subject: | note 84938 rejected from language.expressions by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-143231@lists.php.net to get a copy of this message | ||
Note Submitter: pipofi at gmail dot com
----
This expresion don't result: name <mail@mail.com>
$name = name
$mail = mail@mail.com
$to = $name . "<" . $mail . ">";
//Result: name
//or
$to = $name . '<' . $mail . '>';
//Result: name
//or
$to = "$name < $mail >"
//Result with spaces: name < mail@mail.com >
//or
$to = $name . "\<" . $mail . "\>";
//Result: name\
I don't know the use correct