If you want to explode a string (mostly a loaded text file content), you just use this code:
$rows = explode(PHP_EOL, $content);
If you want to explode a string (mostly a loaded text file content), you just use this code:
$rows = explode(PHP_EOL, $content);