语法异常

WBOY
Release: 2016-06-13 13:44:51
Original
1018 people have browsed it

语法错误
 
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'];就能接收了。

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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!