mail() function with several variables
Posted: Fri Jan 17, 2003 3:13 pm
Hi All,
I have been through the mail() section of php.net and cannot find anything regarding this, so have decided to ask here.
I am using the mail() function, and would like to use it in the context shown below:-
mail("myemail", "subject", "$1 <br> $2 <br> etc etc...", "From: Quiz")
Now, I have varialbes numbered like these all the way from 1-20 as well as variables for a name and email address each on a new line. I cannot find reference to this, so could someone point me in the right direction on how to display each of these variables from the form on a new line?
Thanks
Tom G
I have been through the mail() section of php.net and cannot find anything regarding this, so have decided to ask here.
I am using the mail() function, and would like to use it in the context shown below:-
mail("myemail", "subject", "$1 <br> $2 <br> etc etc...", "From: Quiz")
Now, I have varialbes numbered like these all the way from 1-20 as well as variables for a name and email address each on a new line. I cannot find reference to this, so could someone point me in the right direction on how to display each of these variables from the form on a new line?
Thanks
Tom G