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

用php写的ifelse判断报错?

WBOY
Release: 2016-06-06 20:32:30
Original
1313 people have browsed it

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

回复内容:

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

if 条件后面少了个:

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

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template