+ 1
$h = fopen('file.txt', 'a'); for($i=1;$i<=10; $i++) { ---------------($h, $i); } fclose($h);
4 Réponses
+ 1
fwrite
+ 1
$h = fopen ('file.txt', 'a'); for($i=1;$i<=10; $i++) {fwrite($h, $i); }fclose($h);
0
Fill in the blanks to write the numbers 1 to 10 to the file.
$h =fopen
('file.txt', 'a');
for($i=1;$i<=10; $i++) {
fwrite($h, $i);
}
fclose($h);
Answer : //fopen, //fwrite, //fclose
0
fopen , fwrite and fclose