form processing

my php code will not run. Please help.

[php]HTML:

Name:

E-mail:

formprocess.php:

<?php $a = $_POST['name']; $b = $_POST['email']; echo $a; echo $b; } ?> [/php]

Well simply telling people that your code will not run doesn’t help anyone (including you) how to debug the script. A judging from what you posted it looks like either your not making a serious effort or don’t have a grasp on HTML. You should at least have a grasp on HTML/CSS.

I’m guessing what is posted is a matter of the code tags. My question is, why did you feel the need to have a errant closing bracket? If you had error reporting turned on, you would see that causes the page not to work.

Sponsor our Newsletter | Privacy Policy | Terms of Service