i just don't know the command for enter i tough it was /n
echo return_csv('my_text_file.txt') ;
function return_csv($textfile) {
$text = file_get_contents($textfile) ;
$text_array = explode('\n',$text) ;
foreach ($text_array as $token) {
$output = $output . $token. ',' ;
}
return $output ;
}
i just don't know the command for enter i tough it was /n
If you're doing large amounts of files 10,000+ at once, this thing kicks azz
That thing looks sweet. Have you used it in a PHP environment?