Re: [PHP] Joining fixed text to a SUBJECT variable
[email protected] (Lester Caine)
| Newsgroups | php.general |
|---|---|
| Message-ID | <[email protected]> |
Michael CALDER wrote: > $Subject = "RVRA Contact Form - ,$MessageSubject"; > > Can anyone please advise or point me in the right direction for > instructions on how to combine the fixed text with the variable > $MessageSubject. The quick fix is simply $Subject = "RVRA Contact Form - ".$MessageSubject; but $Subject = "RVRA Contact Form - ,$MessageSubject"; should work, what is the error? ... you don't actually want the ',' $Subject = "RVRA Contact Form - $MessageSubject"; Should work as well -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk