Re: [PHP] Joining fixed text to a SUBJECT variable
[email protected] (Jim Giner)
| Newsgroups | php.general |
|---|---|
| Message-ID | <[email protected]> |
On 3/2/2013 7:03 AM, Maciek Sokolewicz wrote: > > The problem is the simple fact that the variable $MessageSubject is not > defined until 4 lines farther into the script. Changing the variable to > $_POST['MessageSubject'] (and concatenating using the concatenation > operator (the period: '.' )) should fix this for you. > > If Michael had E_NOTICE errors turned on, he would see an E_NOTICE: > "Undefined variable" on line 6. Apparently, he doesn't show E_NOTICEs > either. Exactly.