解析错误:语法错误,第45行/home/u506124311/public_html/ag/page.php中的意外T_IF [英] Parse error: syntax error, unexpected T_IF in /home/u506124311/public_html/ag/page.php on line 45

查看:113
本文介绍了解析错误:语法错误,第45行/home/u506124311/public_html/ag/page.php中的意外T_IF的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以帮助解决这个语法错误。我正在尝试用数据库中的:-x替换坏词...



Hi can anybody assist with this syntax error please. I'm trying to replace bad words with ":-x" when it is being retrieved from the database...

$bwords = aray("admin", "mod");
$pmsg = if($list['StringyChat_message'] = $bwords) {echo ":-x";} else { echo "$list['StringyChat_message']";}

推荐答案

bwords = aray ( admin MOD);
bwords = aray("admin", "mod");


pmsg = if(
pmsg = if(


list [' StringyChat_message'] =
list['StringyChat_message'] =


这篇关于解析错误:语法错误,第45行/home/u506124311/public_html/ag/page.php中的意外T_IF的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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