I have looked at some PHP tutorials form validation and always there is an error of one sort or another so I downloaded a test form from http://www.w3.org/TR/WCAG20-TECHS/wo...CR32/index.php.

This form worked ok on line but when i run it locally, each input field has code inside similar to this:
<br /><b>Notice</b>:  Undefined variable: strForename in <b>X:\xampp\htdocs\phptest6\index.php</b> on line <b>109</b><br />
I am not sure what the problem could be or how to resolve it.
Could someone please advice me.

I am running xampp 1.8.0 and php 5.4.4

thank you.