[code lang=”php”]
$lines = file(‘all-words.txt’);
foreach ($lines as $line_num => $line) {
echo “Line number “.$line_num;
}
[/code]

Categories: ContentGeneral

Leave a Reply

Your email address will not be published. Required fields are marked *