I have a form that have checkboxes, after users selected the checkboxes and press submit it will automatically bring up the page that what they selected. My problem is, the php won't change the text color on: Please help!
if(isset($_POST['weather']=='Yes'))
{
echo "<font color='yellow'><a href=http://www.weather.com> Recruitment and Retention<br><br></a></font>";
}
BUT IT WILL CAN'T WHEN NOT THE URL
echo "<font color='#FFFFFF'>Your information was submitted successfully...</font>";
HERE IS THE URL TO FIND OUT WHAT I'M TALKING ABOUT
http://www.mizzou.edu/~schvbf/form.htm
HERE IS THE PHP CODE I HAVE:
<?php
if(isset($_POST['google']))
{
echo "<font color='red'> <a href=http://google> Google<br><br></a></font>";
}
if(isset($_POST['msn']))
{
echo "<font color='black'><a href=http://msn.com > msn<br><br></a></font>";
}
if(isset($_POST['weather']))
{
echo "<font color='yellow'><a href=http://www.weather.com> Recruitment and Retention<br><br></a></font>";
}
mail("hoachen@hotmail.com", "", $Message) or
Die("Error Sending Mail");
echo"<br><br>";
echo "<font color='#FFFFFF'>Your information was submitted successfully...</font>";
?>