How can i create an If Statement or Function that if finds the special character '}' then in the next character will put a <br>
?
$myfile = fopen("result.txt", "r") or die("Unable to open file!");
while(!feof($myfile)) {
echo fgetc($myfile);
}
fclose($myfile);