Re: Increasing Varables (sp?)
| From: | David Robley | Date: | Thu, 30 Nov 2000 02:59:52 +0000 |
| Subject: | Re: Increasing Varables (sp?) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27960@lists.php.net to get a copy of this message | ||
On Thu, 30 Nov 2000, techzeus@pacific.net.sg wrote:
>
> Hey.
>
> Got this question, is :
>
> $usermessage = "blah"
> $usermessage .= "blah blah"
>
>
> mail($email, $subject, $usermessage) valid?
>
>
> is the operator .= valid? is there another way to do this ?
>
> David Chua,
> CEO, Frozened.com
> PAGN.NET
>
Perfectly valid. But you could also do it the 'long way'
$usermessage = $usermessage . "blah blah"
$usermessage will of course be blahblah blah at the end; you may want extra
spaces or linebreaks.
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA