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
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?

"David Johansen" <[EMAIL PROTECTED]> wrote in message
> 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 (
To unsubscribe, visit:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to