Im trying to make this add people to the database but i cant seem to get it to work.
I have a had a go at adding the PHP to it but nothing seems to work. Can someone help?
Code:
<a href="#x" class="overlay" id="join_form"></a>
<div class="popup">
<h2>Sign Up</h2>
<p>Please enter the details you would like to<br>
register with here. You MUST be <br>atleast thirteen
to register.</p><br>
<form action="register.php" method="post">
<div>
<label for="email">Email</label>
<input type="text" id="email" value="" />
</div>
<div>
<label for="pass">Password</label>
<input type="password" id="pass" value="" />
</div>
<div>
<label for="firstname">First name</label>
<input type="text" id="firstname" value="" />
</div>
<div>
<label for="lastname">Last name</label>
<input type="text" id="lastname" value="" />
</div>
<div>
<label for="age">Sex</label>
<input type="radio" name="sex" value="male">Male
<input type="radio" name="sex" value="female">Female
</div>
</form>
I have a had a go at adding the PHP to it but nothing seems to work. Can someone help?