Home  >  Article  >  Backend Development  >  ThinkPHP模板文件中的if语句,该如何处理

ThinkPHP模板文件中的if语句,该如何处理

WBOY
WBOYOriginal
2016-06-13 10:05:48802browse

ThinkPHP模板文件中的if语句
if($lid && !$bid)在ThinkPHP模板文件中该怎么写?
注:都是不对的,我试过了。。。

------解决方案--------------------
按你的要求变通一下

如果是检查是否赋值应该用

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn