- 1

Fill in the blanks to read and output the content of the file "nums.txt".

$nums = ("nums.txt"); foreach($nums as $num) { echo $num."<br />"; } what is correct ans

12th Mar 2019, 5:53 AM
mahaveer pts
mahaveer pts - avatar
11 Answers
+ 6
$nums = file ("nums.txt"); foreach( $ nums as $num) { echo $num."<br />"; }
27th Apr 2020, 2:29 AM
Mewan Athukorala
Mewan Athukorala - avatar
+ 5
`file` is the correct answer.
12th Mar 2019, 6:13 AM
Rowsej
Rowsej - avatar
+ 1
File and nums is the correct answer.
5th Sep 2019, 4:03 PM
Aftab Ashraf
Aftab Ashraf - avatar
+ 1
Fill in the blanks to read and output the content of the file "nums.txt". $nums = file ("nums.txt"); foreach( $ nums as $num) { echo $num."<br />"; } Answer: //file //nums
1st Mar 2020, 5:52 AM
Sadman Fahim
Sadman Fahim - avatar
0
$nums = ("nums.txt"); foreach( $ as $num) { echo $num."<br />"; } someboy complete that
6th Nov 2019, 2:46 PM
DANIEL MWAFONDO
DANIEL MWAFONDO - avatar
0
1 file 2 nums
28th Nov 2019, 3:24 PM
JAVIER RAMÓN GONZÁLEZ
JAVIER RAMÓN GONZÁLEZ - avatar
0
$nums = file ("nums.txt"); foreach( $ nums as $num) { echo $num."<br />"; }
27th Apr 2020, 2:29 AM
Mewan Athukorala
Mewan Athukorala - avatar
0
$nums = file("nums.txt"); foreach($ nums as $num) { echo $num."<br />"; }
28th Jul 2020, 11:35 AM
sonajosf
sonajosf - avatar
0
$nums = file ("nums.txt"); foreach($ nums as $num) { echo $num."<br />"; }
19th Dec 2020, 5:42 PM
El Maslohi Hassan
0
file and nums
17th May 2022, 7:19 AM
Megha Raj kandel
0
$nums = file ("nums.txt"); foreach($ nums as $num) { echo $num."<br />"; }is the correct ansswer
16th Aug 2022, 11:55 AM
Lemmessa Welfana
Lemmessa Welfana - avatar