[HELP] html +php form .echo ?
Posted: Wed Aug 24, 2005 2:27 am
Hello , i am new here .
I am not a php guru but i am working on a simple html form that collects some data and then sends it to my e-mail . i have this part working ok . i do have a few problems .<
<problems list >
#1
1 when the data is sent to my mail it looks like so
( answers to questions )
yes&
100.00&
then the message here&
the " &" is after each answer ,how can i fix this .?
#2
after i have the data sent to me . i have echo to print on a new page .
the problem is with this code ( echo ) is that there isnt a line break after "thanks for taking the survey" and then the link back to the site . how can i make a liine break even though you see i have \n in the code .
also does anyone have a link to help me with posting the form results on a new page ..
something like this
would you buy it ?
20% yes
80% no
i dont have a database so is it possible to display results without a database .?
cheers
I am not a php guru but i am working on a simple html form that collects some data and then sends it to my e-mail . i have this part working ok . i do have a few problems .<
<problems list >
#1
1 when the data is sent to my mail it looks like so
( answers to questions )
yes&
100.00&
then the message here&
the " &" is after each answer ,how can i fix this .?
#2
after i have the data sent to me . i have echo to print on a new page .
Code: Select all
echo "Thank you for taking the survey\n";
echo "<a href=\"http://www.somesite.com/index.htm\">Back to main page</a>";also does anyone have a link to help me with posting the form results on a new page ..
something like this
would you buy it ?
20% yes
80% no
i dont have a database so is it possible to display results without a database .?
cheers