Page 1 of 1

1. Which PHP statement will store the value into variable $num from the form below? Posted: Sun May 15, 2022 10:10 am

by answerhappygod
1. Which PHP statement will store the value into variable $num
from the form below?
<form method="post" action="findSum.php">
Number : <input type="text" name="num"
><br/>
<input type="submit" value="Add">
</form>
$num = $_POST["text"];
$num = $_POST["num"];
$num = $_GET["num"];
$num = $_FILE["text"];