开发者

PHP raising error about code outside of PHP begin / end characters

I have a PHP page that keeps raising the error

PHP Parse error: syntax error, unexpected '<' in /home/zach/public_html/date/giftsent1.php on line 30

The funny thing is, line 30 is in the HTML. It is开发者_如何学JAVA after the PHP end characters ( ?> ).

I have added the code to Pastebin:

http://pastebin.com/Dsh0KwdA


You are missing the ending double quotes in the query on line 18:

$query = "INSERT INTO gifts (`Gift`, `User`, `Type`, `From`, `Status`) VALUES ('$gid', '$val', '$ext', 'Pending');
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜