Home > Backend Development > PHP Tutorial > PHP的If语法有关问题

PHP的If语法有关问题

WBOY
Release: 2016-06-13 12:35:45
Original
894 people have browsed it

PHP的If语法问题!

if (stripos($url,"page=")=false) {<br />
	$url=$url."?page=1";<br />
}
Copy after login


这样的代码,调试的时候提示Parse error: syntax error, unexpected 'if' (T_IF) in D:\wamp\www\page\page.class.php on line 11

不知道怎么回事,谢谢。

Related labels:
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