PHP出现Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING
PHP源代码变量部分就省略了太多了!if(mysql_query("insertintocdb456_forums(fup,type,name,status,d...
PHP源代码变量部分就省略了太多了!if(mysql_query("insert into cdb456_forums(fup,type,name,status,displayorder,styleid,threads,posts,todayposts,lastpost,allowsmilies,allowhtml,allowbbcode,allowimgcode,allowmediacode,allowanonymous,allowshare,allowpostspecial,allowspecialonly,alloweditrules,allowfeed,recyclebin,modnewposts,jammer,disablewatermark,inheritedmod,autoclose,forumcolumns,threadcaches,alloweditpost,simple,modworks,allowtag,allowglobalstick) values('".$sqll2."','".$sqll3."','".$sqll4."','".$sqll5."','".$sqll6."','".$sqll7."','".$sqll8."','".$sqll8."','".$sqll9."','".$sqll10."','".$sqll11."','".$sqll12."','".$sqll13."','".$sqll14."','".$sqll15."','".$sqll16."','".$sqll17."','".$sqll18."','".$sqll19."','".$sqll20"','".$sqll21."','".$sqll22."','".$sqll23."','".$sqll24."','".$sqll25."','".$sqll26."','".$sqll27."','".$sqll28."','".$sqll29."','".$sqll30."','".$sqll31."','".$sqll32."','".$sqll33."','".$sqll34."','".$sqll35."')",$conn)){$sqlset=mysql_query("select fid from cdb456_forums where name='".$dzname."'",$conn);$into=mysql_fetch_row($sqlset);$bkfid=$into[0];if(mysql_query("insert into cdb456_moderators(uid,fid,displayorder,inherited) values('".$sqlll1."','".$bkfid."','".$sqlll3."','".$sqlll4."')",$conn)){if(mysql_query("update cdb456_members set adminid = '".$sqllll1."' where cdb456_members.uid = '".$useruid."'",$conn)){}else{echo"<script>alert('升级版主用户组失败!');</script>";}else{echo"<script>alert('添加版主失败!');</script>";}else{echo"<script>alert('升级版块失败!');</script>";}}}运行后出现Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in N:\phphj\APMServ5.2.6\www\htdocs\cecx\2.php on line 48
展开
2个回答
展开全部
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in ...这一类的 错误,大致是语句存在不合理语法错误,例如单词拼写错误、或单词多写或少写。你没多大必要上网寻找解决方法,仔细重复地检查你所写的代码即可。
错误提示在2.php文件第48行附近。
错误提示在2.php文件第48行附近。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询