How to implement partial refresh function of php page

WBOY
Release: 2016-07-25 08:58:08
Original
21385 people have browsed it
  1. iframe局部刷新_bbs.it-home.org
  2. if (isset($question) && !empty($question)) {
  3. ?>
  4. }
  5. ?>
  6. 产品问题及回答详细列表

    该问题详细内容:
    提问者: 提问时间:

  7. 你也回答一下吧:
  • 复制代码

    2,product_newmsg.php:

    1. if (isset($answers) && !empty($answers)) {
    2. foreach ($answers as $key=>$value){
    3. ?>
    4. }
    5. }else{
    6. ?>
    7. }
    8. ?>
    9. 回答:
    10. if($_SESSION['ADMINISTRATOR']){//如果$_SESSION['ADMINISTRATOR']=0,即不是超级管理员,则不显示删除按钮
    11. ?>
    12. }
    13. ?>
    14. 回答者: 回答时间:

      该问题目前还没有用户回答,你可以在下面填写内容来回答
  • 复制代码

    在浏览器中访问show.php就可以看到效果了。



    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!