I am trying to get a very simple form to work with PHP but can not find anything on the NET to explain how to do this without having to learn tons of stuff which I just havn't got the time to do at the moment.
I use dreamweaver which I believe will do this for me but after numourus attempts and hours of feeling inadequate as a male specamine I thought I better ask for help.
It seems the more I look into getting the form to work the more completicated it gets and I am now totally confused.
I would be very grateful if someone could take a look at the form and let me know what I need to do as mu head has started to blead and theres a dent in my desk
This is the form
HTML Code:
<form id="form1" name="form1" method="post" action="thank_you.html">
<label for="Name">Name</label>
<input type="text" name="Name" id="Name" />
<label for="PhoneNo">Phone No</label>
<input type="text" name="PhoneNo" id="PhoneNo" />
<label for="PropVal">Property Value</label>
<input type="text" name="PropVal" id="PropVal" />
<label for="LoanAmount">Loan Amount</label>
<input type="text" name="LoanAmount" id="LoanAmount" />
<label for="FinType">Finance Required</label>
<select name="FinType" id="FinType">
<option>Please Select</option>
<option value="mortgage">Mortgage</option>
<option value="remortgage">Remortgage</option>
<option value="secured">Secured Loan</option>
<option value="BTL">Buy to Let</option>
<option value="other">Other</option>
</select>
<label for="callaT">Best Time to Call</label>
<select name="callaT" id="callaT">
<option>Please Select</option>
<option value="morning">Morning</option>
<option value="afternoon">Afternoon</option>
<option value="evening">Evening</option>
<option value="any">Any time</option>
</select>
<a href="javascript:newwindow()" ><br / >
Data Protection Statement<br />
</a>
<input type="submit" name="submit" id="submit" value="Call me back" />
</form>
I have stripped out all the stuff I tried to do to keep things easy. I am not asking for anyone to write any PHP for me, just to point me to a place that will tell me how to fix the above so the form submits (something just for forms if thats possible).
Thanks in advance.
Last edited by bakerc; 04-23-2008 at 10:04 PM..
|