PDA

View Full Version : Form submission coding



Harmonym
04-14-2009, 01:38 PM
Greetings! Before I begin, I new to coding. So, I thank you in advance for your patience. I have built my site in BlueVoda and have several forms on the site. However, the information is not being sent to my website. I believe the line of code involved is:

<form name="Questions" method="POST" action="<? echo($_SERVER['host265']);?>" id="Form1">

How do I know what the server should be for hostmonster?

Thanks!!!

pghcollectibles
04-14-2009, 11:19 PM
the action is going to be the page you would like to send the form variables to.

for example if you are sending the data to the page that the form is on, you may leave it blank: action=""

if you want it to go to another page in the same directory: action="otherpage.php"

page in a different directory but a sub folder of the one the form is from: action="otherdirectory/otherpage.php"

if that doesnt help, we would need to know where the page is with the form in relation to your public_html directory and where the intended file is to receive the data