PHP Read Single Line - fgets() in PHP Posted September 8, 2020 <?php$myfile = fopen("webdictionary.txt", "r") or die("Unable to open file!");echo fgets($myfile);fclose($myfile);?> Please make me understood the above code line by line.I am not getting this properly after running it in w3c tryiteditor
PHP Read Single Line - fgets()
in PHP
Posted
<?php
$myfile = fopen("webdictionary.txt", "r") or die("Unable to open file!");
echo fgets($myfile);
fclose($myfile);
?>
Please make me understood the above code line by line.I am not getting this properly after running it in w3c tryiteditor