I need a little help with a php formmail captcha script. I get this error after clicking on the submit button Parse error: syntax error, unexpected $end in /home/loanshop/public_html/submit/contact.php on line 470 so I threw the contact.php into DW editor and line 470 is really the end. if you'd PM me I'll send the php script to you thanks for any help or suggestions. NOTE: it was working fine before I tried to implement the captcha form into an already existing form... those dam spam insects are sending junk to this form now.
usually that means you messed up somewhere and theres a bracket that should be closed, or you have too many end brackets.
it is a bracket thing. But just to make sure if you use $name = <<<EOM ****** EOM; kind of value assignation, sometimes it doesnt work depending on the server.