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

PHP的If语法有关问题

WBOY
WBOYOriginal
2016-06-13 12:35:45895browse

PHP的If语法问题!

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


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

不知道怎么回事,谢谢。

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