Error in General Practice Code.

Greetings everyone, I am very new to php and trying to learn it. I am facing problem while trying out to make a simple Feedback Form that sends email.

I am attaching the code bellow, The main problem is something to do with the value of the Variables not being passed. Please help me out.

The Feedback Form

[code]

The Feedback Form

Your Name:

Your Email:

Message:

Do you like this Website: yes no

[/code]

The Send Feedback php page

[php]

The Send Feedback <?php_track_vars?> <?php
$msg="Sender's Full Name:\t $sn \n";
$msg.="Sender's Email:\\t$sender_email\n";
$msg.="Did you like the Website?\t$like_site\n";
$msg.="Additional Message:\t$message\n\n";
$mailheaders="From: Lord Sunny's Website";
$mailheaders.="Reply-To: $sender_email\n\n";
mail("[EMAIL]", "Feedback Form From--$sender_name",$msg,$mailheaders);
echo"<H1 align=center> Thank you, $sender_name";
if($sender_name=='yes')
	echo"<P align=center> Thank you for Liking our Website.</p>";
else		echo"<P align=center> We will try to improve our website as per your feedback.</p>";

?>

[/php]

Unless PHP is configured with Register_Globals = On you would need to use $_POST or $_REQUEST

e.g.

[php]$_POST[‘sender_email’][/php]

Sponsor our Newsletter | Privacy Policy | Terms of Service