Home > Backend Development > PHP Tutorial > 请教逻辑或(||)操作符可以这样用吗

请教逻辑或(||)操作符可以这样用吗

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 10:24:36
Original
876 people have browsed it

请问逻辑或(||)操作符可以这样用吗?
请问逻辑或操作符可以这样用吗?
if(!isset($_POST['username'])||!isset($_POST['password'])||!isset($_POST['verify_ps'])||!isset($_POST['email']))

------解决方案--------------------
当然啊.
------解决方案--------------------

PHP code
简化:if(!isset($_POST['username'],$_POST['password'],$_POST['verify_ps'],$_POST['……<div class="clear">
                 
              
              
        
            </div>
Copy after login
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