Re: Joining fixed text to a SUBJECT variable
| From: | Jim Giner | Date: | Sat, 02 Mar 2013 14:44:59 +0000 |
| Subject: | Re: Joining fixed text to a SUBJECT variable | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-320355@lists.php.net to get a copy of this message | ||
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.