Good day.

As you may have guessed by now, the .= operator does what you want.

============================
Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
(403) 781-4948


-----Original Message-----
From: David Johansen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 12:13 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Nevermind I figured it out


I just user $message = $message . "Some text";
But is there a "better" way to do this with something like the += operator?
Dave

"David Johansen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I was just wondering if there was a way to add new text to the end of
> strings. I tried doing
> $message += "Some text here";
> but that just set $message to 0. I'm sure it's something simple  but I
> couldn't find anything on it in the documentation.
> Dave
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to