I've created this html form and need the fields to send to my email address. It seems I don't have the PHP script correct, as it is not parsing the data over. I am presented with this error: Parse error: syntax error, unexpected $end in C:\www\mo\marinecforum\send_form_application.php on line 109 .
This is the html form code and php script (I 开发者_运维知识库am only allowed to post one hyperlink, sorry, but it's clear which is which): http://pastebin.com/Ruh7ZrLG
Any help would be greatly appreciated.
You have a bracket that isn't closed, I suspect. Try using an editor with bracket matching to track it down.
Unless short_tags are enabled, the parser's probably complaining about the use of <?
(instead of <?php
). Thus it's not seeing final brace and knowing when to stop.
精彩评论