Home > Backend Development > PHP Tutorial > 在HTML网页中判断PHP变量是不是为空?求大神

在HTML网页中判断PHP变量是不是为空?求大神

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 12:13:59
Original
1751 people have browsed it

在HTML网页中判断PHP变量是否为空?求大神
在下面代码中判断{baowei:$info.p18}的值是否为空,
如果是空值则不显示
                             

  •  
    在HTML网页中判断PHP变量是不是为空?求大神 



  •     

          



    •  
      在HTML网页中判断PHP变量是不是为空?求大神 



    •         
    •  
      在HTML网页中判断PHP变量是不是为空?求大神 

    •         
    •  
      在HTML网页中判断PHP变量是不是为空?求大神 

    •         
    •  
      在HTML网页中判断PHP变量是不是为空?求大神 

    •         
    •  
      在HTML网页中判断PHP变量是不是为空?求大神 

    •         
    •  
      在HTML网页中判断PHP变量是不是为空?求大神 

    •         
    •  
      在HTML网页中判断PHP变量是不是为空?求大神 

    •       

          prev next 

        
     

    ------解决思路----------------------
     if(empty()){
    }
    ?>
    ------解决思路----------------------
    楼主用的是啥框架,smarty?
    Related labels:
    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