Page 1 of 1

generating e-mail msg using multiple $_request

Posted: Mon May 24, 2010 1:27 pm
by royboy1969
I am using a php form to generate an e-mail, with 7 or 8 form inputs as the message. Having trouble getting more than one input value to appear in message. Using the variable $message = $_REQUEST [name] generates the e-mail with name only, but how do I include the other input values? Tried $message = $_REQUEST [name] + $_REQUEST [age] + .....etc. Can someone help with the syntax please?

Re: generating e-mail msg using multiple $_request

Posted: Mon May 24, 2010 1:41 pm
by AbraCadaver
Use . to concatenate instead of +. Also, quote your array indexes $_REQUEST ['name'].