Forum Moderators: coopster

Message Too Old, No Replies

Easy String Question

         

briesm

5:55 pm on Jun 14, 2005 (gmt 0)

10+ Year Member



I've got a long string that I want to add on to later. I must be typing something wrong because it is not executing the script unless this is commented out.

So if I have:

$message = 'lots of text here etc etc etc';

Then later I want to add on so I've tried:

$message .= 'more text here';

as well as:
$message = $message . 'more here';

and neither work. How can I do this correctly? THanks in advance

mcibor

6:18 pm on Jun 14, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This should work. Write what's the error and maybe the few lines with it. To check what's the error turn the

error_reporting(E_ALL);

Michal Cibor