If the visitor has not submitted his name, then a form for him to do so is displayed. However if the visitor has submitted his name then the page is supposed to redisplay with a message including the visitor’s name.
For some reason the visitor’s name is not submitting thus each time the ‘submit’ button is clicked the form displays everytime.
Can anyone see what is going wrong? (Code is below)
Hello VisitorHello Visitor
<?php if (empty($visitorName)) { print <<<HERE Please enter your name:HERE; } else { print "