search

Home  >  Q&A  >  body text

How to interpret this string of code?

What does this judge? if (! empty ($_POST['name']) && $_POST['submit'])

The explanation in PHP is to judge the value of the button. Perform different operations

But how to use this specifically?

Please give me some answers

小白小**小白小**2197 days ago817

reply all(2)I'll reply

  • 成都,今夜请将我遗忘

    成都,今夜请将我遗忘2019-03-11 17:30:11

    $_POST['name'] is not empty and $_POST['submit'] is not empty, that is, these two values ​​​​must exist at the same time. But $_POST['submit'] is 0 false null cannot enter this if.

    reply
    0
  • Cancelreply