How to implement partial refresh function of php page
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-25 08:58:08
Original
21513 people have browsed it
2,product_newmsg.php:
回答:
if (isset($answers) && !empty($answers)) { foreach ($answers as $key=>$value){
?>
if($_SESSION['ADMINISTRATOR']){//如果$_SESSION['ADMINISTRATOR']=0,即不是超级管理员,则不显示删除按钮 ?>
} ?>
回答者: 回答时间:
} }else{ ?>
该问题目前还没有用户回答,你可以在下面填写内容来回答
} ?>
复制代码
在浏览器中访问show.php就可以看到效果了。
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
Latest Articles by Author
2025-02-26 03:58:14
2025-02-26 03:38:10
2025-02-26 03:17:10
2025-02-26 02:49:09
2025-02-26 01:08:13
2025-02-26 00:46:10
2025-02-25 23:42:08
2025-02-25 22:50:13
2025-02-25 21:54:11
2025-02-25 20:45:11
Latest Issues
2025-03-20 18:47:42
2025-03-20 18:47:05
2025-03-20 18:44:50
2025-03-20 18:44:11
2025-03-20 18:43:32