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

2004-07-19 Thread Justin Patrin
On Mon, 19 Jul 2004 11:17:24 -0600, Markus Stobbs <[EMAIL PROTECTED]> wrote: > 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 decla

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

2004-07-19 Thread Cosmin Chiru
Hello Markus, Monday, July 19, 2004, 8:17:24 PM, you wrote: > 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 > b

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 = "

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

2004-07-19 Thread Jay Blanchard
[snip] Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /web/scd/vets/Vislab/eventrequest.php on line 94 [/snip] Can we see line 94 and +/- 10 lines in eventrequest.php please? -- PHP General Mailing List (http://www.php.net/) T