Hello,
I am struggling a little, hopefully someone may be able to help me.
The code that i use is below,
<?php
$file_name = "trivia2.txt";
$fp = fopen($file_name, "r");
while($line = fgets($fp)){echo "$line <br>";}
fclose($fp);
echo $data;
?>
Although this works to a degree, its not correct.
The Output should be as follows,
[00:36] <lonewolf> morning folks 🙂
The Output is only,
[00:36] morning folks 🙂
It is omitting the <lonewolf>, is there anything i can do?
I cannot change the format, of the .txt file, it is sent as an automated process.
Thank you for any help.
John.