解析错误:语法错误,意外 [英] Parse error: syntax error, unexpected

查看:96
本文介绍了解析错误:语法错误,意外的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在代码上有这个错误


解析错误:语法错误,/home/topbidd/public_html/bid2/bid_classic.php中的意外''"''在线159


现在我认为错误是这个


似乎代码有一个额外的在结束之前;


VALUES(''"。$ auction_id。"'',''"。$ user_id。"'',''"

.converttonum(get_next_bid($ auction_id))。"'',''"。$ NOW。"'')" ;;


但是当我删除了它确实删除了错误信息但是转到白页而不是错误信息是否有人有任何想法


展开 | 选择 | Wrap | 行号

解决方案

auction_id。 ","

USER_ID。 "''',''"

.converttonum(get_next_bid(


auction_id))。 ","

I have this error on the code

Parse error: syntax error, unexpected ''"'' in /home/topbidd/public_html/bid2/bid_classic.php on line 159

now i thought the error was this

It seems that the code has an extra " at the end before the ;

VALUES(''" .$auction_id. "'',''" .$user_id. "'',''"
.converttonum(get_next_bid($auction_id)). "'',''" .$NOW. "'')";

But when i deleted the " it did remove the error message but took to white page instead of the error message does anyone have any idea''s


Expand|Select|Wrap|Line Numbers

解决方案

auction_id. "'',''" .


user_id. "'',''"
.converttonum(get_next_bid(


auction_id)). "'',''" .


这篇关于解析错误:语法错误,意外的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆