form to email
hello guys,
i was just wondering if you could tell me how to do something. i have made a part of my website so that people can contact me. so the fill in a form then click submit and it gets sent to my email address. it all works perfectly but i want to do something else. i want to have tick boxes in the in my form because just now they are all just text feilds.
Here is the php just now for the text fields:
$name=$_POST['name'];
$owner=$_POST['owner'];
$telephone=$_POST['telephone'];
$addressline1=$_POST['addressline1'];
$addressline2=$_POST['addressline2'];
$town=$_POST['town'];
$county=$_POST['county'];
$postcode=$_POST['postcode'];
$info=$_POST['info'];
$to="ali_b71@hotmail.co.uk";
$message="Restraunts Name: $name \n owner: \"$owner\"\n address line 1: $addressline1 \n address line 2: $addressline2 \n Town: $town \n county: $county \n Postcode: $postcode \n About their restraunt: $info";
its very simple becuase this is my first time using it. but wht would the code be for a tick box?
cheers for your help.
Ali
|