Home  >  Article  >  Backend Development  >  语法异常

语法异常

WBOY
WBOYOriginal
2016-06-13 13:44:511055browse

语法错误
 
if($zhrow=='0'){echo "提示:对不起,你没有任何提醒!";}else{ echo 
?>
接受      拒绝

 ;};
 ?>
运行提示Parse error: syntax error, unexpected ';' in D:\wamp\www\bbs\tixing.php on line 24
24行是第一个 ?>
正确的应该怎么写啊!谢谢!

------解决方案--------------------
 
if($zhrow=='0'){
echo "提示:对不起,你没有任何提醒!";
}else{
echo "接受      拒绝";
}
?>

------解决方案--------------------
 
if($zhrow=='0'){
echo "提示:对不起,你没有任何提醒!";
}else{
echo "{$uid}想加你为好友,你是接受还是拒绝";
}
?>

tixing_add.php页面用$uid=$_GET['uid'];就能接收了。

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