T_BOOLEAN_AND错误? [英] T_BOOLEAN_AND error?
本文介绍了T_BOOLEAN_AND错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这有什么不对吗?请帮助我..
whats wrong with this? anybody help me please..
if(stripos($nerde, $hf) !== false) && (stripos($nerde, $rs) !== false){
@mysql_query("update table set dltur = '3' where id = '".$ppl[id]."'");
}
else {
//dont do anything
}
我收到T_BOOLEAN_AND错误。
i get T_BOOLEAN_AND error.
推荐答案
整个条件需要括号:
if((stripos($nerde, $hf) !== false) && (stripos($nerde, $rs) !== false)){
这篇关于T_BOOLEAN_AND错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文