Re: [PHP] Mixing $_POST with text in a variable

2004-07-19 Thread Markus Stobbs
Jay, Thanks for the response. Here's the code fragment. I'm basically building a text variable $message which I send later in the script as an email. Line 94 is the only one where I have implemented $_POST. If I change it back to $Name, the script works fine. // format email message $subject = "

[PHP] Mixing $_POST with text in a variable

2004-07-19 Thread Markus Stobbs
I'm changing my HTTP POST variable declarations from $variablename to $_POST['variablename'] to make my code more compliant with current best practices. However, I find that I cannot mix these new variable declarations into big variable strings like I used to. For example, this works: $message