RE: [PHP] Nevermind I figured it out

From: Date: Wed, 27 Mar 2002 19:12:49 +0000
Subject: RE: [PHP] Nevermind I figured it out
Groups: php.general 
Request: Send a blank email to php-general+get-90407@lists.php.net to get a copy of this message
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:daveisfera@yahoo.com] Sent: Wednesday, March 27, 2002 12:13 PM To: php-general@lists.php.net 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" <daveisfera@yahoo.com> wrote in message news:20020327190312.5497.qmail@pb1.pair.com... > 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

« previous php.general (#90407) next »