Page 1 of 1

1. Which function should be used to read a line from a text file? readLine() fline() fgets() fread() 2. Which PHP statem

Posted: Sun May 15, 2022 9:57 am
by answerhappygod
1. Which function should be used to read a line from a text
file?
readLine()
fline()
fgets()
fread()
2. 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"];