Home  >  Article  >  Backend Development  >  用php写的ifelse判断报错?

用php写的ifelse判断报错?

WBOY
WBOYOriginal
2016-06-06 20:32:301232browse

没学过php,以前学的是java,用java的思想写,
如果$prev_video对象存在,输出a标签,大家帮忙看一下哪里有问题?
用php写的ifelse判断报错?

回复内容:

没学过php,以前学的是java,用java的思想写,
如果$prev_video对象存在,输出a标签,大家帮忙看一下哪里有问题?
用php写的ifelse判断报错?

if 条件后面少了个:

额 语法错误也发上来 。。。。。。。。。。。。。。。。。。。。

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