alright, i found out why the php wouldnt work, i had been typing something wrong...
LOL
now i have the same form set up in php...
but i cant find what php code to use to make my form automatically send me a email as soon as whoever is filling out this form hits submit. I tried the mail($to, $subject, $message) but that wouldn't work, i think ive just been putting it in the wrong place,
LOL...
Quote:
<?php
$In-Game Name = $_POST["In-Game Name"];
$Ship Name = $_POST["Ship Name"];
$Quantity = $_POST["Quantity"]
$Refit = $_POST["Refit"];
$Best Time to Contact = $_POST["Best Time to Contact"];
?>
<html>
<head>
<title>Order Form</title>
</head>
<body>
<form method="post" action="shipshop2.php">
In-Game Name:<input type="text" size="12" maxlength="50" name="In-Game Name"><br />
Ship Name: <select name="Ship Name">
<option value="--Choose Ship--">--Choose Ship--</option>
<option value="Alexander Fourth Rate">'Alexander' Fourth Rate</option>
<option value="Arcadia Xebec">'Arcadia' Xebec</option>
<option value="Capricieux Frigate">'Capricieux' Frigate</option>
<option value="Cerebus Frigate">Cerebus' Frigate</option>
<option value="Conquistador Frigate">'Conquistador' Frigate</option>
<option value="Corsair Xebec">'Corsair' Xebec</option>
<option value="Couronne Galleon">'Couronne' Galleon</option>
<option value="Defiant Frigate">'Defiant' Frigate</option>
<option value="Deliverance Frigate">Deliverance' Frigate</option>
<option value="Desperation Raft">Desperation' Raft</option>
<option value="Hercules Frigate">Hercules' Frigate</option>
<option value="Hermes Packet-Boat">'Hermes' Packet-Boat</option>
<option value="Invincible First Rate">'Invincible' First Rate</option>
<option value="Locust Corvette">'Locust' Corvette</option>
<option value="Mediator Cutter">'Mediator' Cutter</option>
<option value="Migone Indiaman">'Migone' Indiaman</option>
<option value="Migone Privateer Indiaman">'Migone' Privateer Indiaman</option>
<option value="Mordaunt Fourth Rate">'Mordaunt' Fourth Rate</option>
<option value="Myrmidon Frigate">'Myrmidon' Frigate</option>
<option value="Mystique Poleacre">Mystique' Poleacre</option>
<option value="Oliphant Indiaman">'Oliphant' Indiaman</option>
<option value="Postillionen Frigate">'Postillionen' Frigate</option>
<option value="Prince First Rate">'Prince' First Rate</option>
<option value="Raa Frigate">'Raa' Frigate</option>
<option value="San Mateo Galleon">'San Mateo' Galleon</option>
<option value="Stralsund Frigate">'Stralsund' Frigate</option>
<option value="Tigre Frigate">'Tigre' Frigate</option>
<option value="Trinity Second Rate">'Trinity' Second Rate</option>
<option value="Triumphant Second Rate">'Triumphant' Second Rate</option>
<option value="Valient Third Rate">'Valient' Third Rate</option>
<option value="Wenden Third Rate">'Wenden' Third Rate</option>
</select>
Quantity: <select name="Quantity">
<option value="-Quantity-">-Quantity-</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select><br />
If You Want It Refitted, Please Choose Which Type of Refit You Would Like:<br />
Mastercraft:<input type="radio" value="Mastercraft" name="Refit"><br />
Heavy:<input type="radio" value="Heavy" name="Refit"><br />
Sleek:<input type="radio" value="Sleek" name="Refit"><br />
<text>Please enter what time of day would be best to contact you in game, please include time zone...</text><br/>
<textarea rows="10" cols="50" name="Best Time to Contact" wrap="physical">The best time to contact me would be...</textarea><br />
<input type="submit" value="Place Order">
</form>
<?
So this is what i have so far. This makes the form correctly and i can enter all my info and hit enter and it takes me to another page i have set up. All i cant seem to find is the way to make it so that one the user clicks submit it will e-mail me their information they have entered....
Any thoughts as to how i can go about making this happen?
(I am making this for a game which is why its got weird names in it,
LOL)