I have this txt file structure:
"data";"data";"data";#;"my data";"my data";"my data"
"data";"data";"data";#;"my data";"my data";"my data"
"data";"data";"data";#;"my data";"my data";"my data"
I need to read this file data just after the # sign. My PHP code just for read the entire line.
$file_handle = fopen("texto.txt", "r");
$numlinha = 0;
while (!feof($file_handle)) {
$line = fgets($file_handle);
$numlinha++;
echo $numlinha . ". " . $line . "</br></br>";
}
fclose($file_handle);