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

- WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
- 2016-06-13 12:13:591753browse
在HTML网页中判断PHP变量是否为空?求大神
在下面代码中判断{baowei:$info.p18}的值是否为空,
如果是空值则不显示
------解决思路---------------------- if(empty()){
}
?>
------解决思路----------------------楼主用的是啥框架,smarty?
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
Previous article:[CI]CodeIgniter高速开发指南Next article:与type的区别" href="https://m.php.cn/faq/204875.html">4. class
与type的区别