PHP Email Form Validation
Posted: Thu Oct 02, 2008 6:59 pm
Hi Everyone,
I was hoping that someone can help me out. I made a form and want it to only make emails work in it (have to type blah@hotmail.com.) I am having issues with how to make it work. The code I have so far looks like this:
<div id="unsubscribe">
<form id="form" name="form" class="rt" method="post" action="">
<input type="hidden" name="source" value="flash games" />
<fieldset>
<label for="email1">
<span>Please enter your email address:</span>
<input type="text" name="email1" id="email1" />
</label>
<button class="submitBtn" name="button" id="button" type="submit"><span>Unsubscribe</span></button>
</fieldset>
</form>
</div>
Please let me know if any of you know the solution.
Thanks,
Reth
I was hoping that someone can help me out. I made a form and want it to only make emails work in it (have to type blah@hotmail.com.) I am having issues with how to make it work. The code I have so far looks like this:
<div id="unsubscribe">
<form id="form" name="form" class="rt" method="post" action="">
<input type="hidden" name="source" value="flash games" />
<fieldset>
<label for="email1">
<span>Please enter your email address:</span>
<input type="text" name="email1" id="email1" />
</label>
<button class="submitBtn" name="button" id="button" type="submit"><span>Unsubscribe</span></button>
</fieldset>
</form>
</div>
Please let me know if any of you know the solution.
Thanks,
Reth