TechScroll

Feedback

check($_POST['code']); if($valid == true) { echo "Thanks for your feedback."; $myFile = "/feedback.txt"; $fh = fopen($myFile, 'a') or fopen($myFile, 'w') or die("can't open file"); fwrite($fh, $_POST['n1']); fwrite($fh, "\n"); fwrite($fh, $_POST['e1']); fwrite($fh, "\n"); fwrite($fh, $_POST['t1']); fwrite($fh, "\n"); fwrite($fh, "---------------------\n"); fclose($fh); } else { echo "Error: You entered an invalid code. Please try again."; } } if ($valid == false) { ?>
Your name

Your email address

Comments/Feedback

Enter the Code
Reload Image












Home | Contact | Feedback