Im really new to PHP, before this the only code i ever messed with was Cold Fusion, but i would rather learn PHP cause its more valuable.
Ok now to the problem
http://www.flashcartoons.org/php/colors.html
This is a test im currently doing.
I want it to send mail once submitted (Enter!) to an email address. (my email thru php)
How do i go about doing so.
Im using Mysql and phpMyAdmin 2.3.2
//]]]
<form action="colors.php" method=post>
<div align="center"><font size="1" face="Arial, Helvetica, sans-serif"><br>
My name is: </font><br>
<input type="text" name="YourName">
</div>
<p align="center"> <font size="1" face="Arial, Helvetica, sans-serif">My
favorite color is:</font> <br>
<input type="text" name="FavoriteColor">
<p align="center">
<input type="submit" name="submit" value="Enter!">
<input type="reset" name="Reset" value="Reset">
<br>
</form>
//]]
the Variables are
$FavoriteColor
$YourName
PLEASE HELP!!!