相关疑难解决方法(0)

if!isset multiple OR condition

我不能让这个为我的生活工作,它是PHP.

<?php
 if (!isset($_POST['ign']) || ($_POST['email'])) {

  echo "Please enter all of the values!";
    }

 else {

   echo "Thanks, " . $_POST['ign'] . ", you will recieve an email when the site is         complete!";

    }
    ?>
Run Code Online (Sandbox Code Playgroud)

我也试过两次使用!isset.

php

12
推荐指数
2
解决办法
5万
查看次数

标签 统计

php ×1