David, There is a better way to do through a similar operator.
$variable = "hello and welcome"; $variable .= " to www.newimagedesign.com"; therefore... print ($variable); would result in... hello and welcome to www.newimagedesign.com hope this helps. -Jordan K. Martin New Image Design ------------- "David Johansen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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