PDA

View Full Version : Form data


D Casten
10-28-2010, 11:53 PM
Old Frontpage user here, trying to create a form.

I can create the form ok and have the submit button inseted into the forum, but how do I set peramiters on data users input on forum? Where do I set where the data goes?

Just lost on this one?????

edbr
10-29-2010, 02:04 AM
how do I set peramiters on data users input on forum? Where do I set where the data goes?
can you give an example of what you mean?

D Casten
10-29-2010, 03:26 AM
Thank you

This is incomplete but http://smokerspurgatory.com/contestresults2.html
I my old frontpage days after you made the form. You would set were the data went or to which file the data was stored in on the server. And how the date was store, i.e. text delimited, text seperated by comma etc, etc

edbr
10-29-2010, 04:17 AM
your actipn is pointed to conresults.php, som that is where you can manipulate the data

D Casten
10-29-2010, 04:27 AM
What or how do I do anything with that file? I copied that from the tutorial.
I had tried to point it to an html file but didnt work? I'm missing something easy, I'm sorry.

edbr
10-29-2010, 04:44 AM
as its a php file you can collect the values. if you save below as conresults.php ( you need php on your server


<?php
echo $_post['Date'] ;
echo $_post['Place'] ;
echo $_post[' Contest'] ;
echo $_post['teams'] ;


?>