Home  >  Q&A  >  body text

Unable to obtain post data

<?php
header("Content-type:text/html;charset=utf-8");

echo <<<'FROM'
< from action="" method="post">
Please enter an integer:
<input type="number" name="num">
<input type="submit" value ="Submit">

</from>
FROM;

echo isset($_POST['num']);



北半球的孤单北半球的孤单1911 days ago962

reply all(3)I'll reply

  • 北半球的孤单

    北半球的孤单2019-06-27 13:52:40

    Got it, the form is written backwards

    reply
    1
  • 殘留の回憶

    666, I didn’t even see it

    殘留の回憶 · 2019-06-27 22:36:45
  • 北半球的孤单

    北半球的孤单2019-06-27 13:20:55

    Does anyone know the reason?

    reply
    1
  • Cancelreply