Emailler.csvのためのPHP:シングルライン - CSV
"[email protected], [email protected], [email protected], ..."
CSVexport.php:
<?PHP
$file_handle = fopen("emailler.csv", "r");
while (!feof($file_handle)) {
$line_of_text = fgetcsv($file_handle, 1024);
print $line_of_text[0] . $line_of_text[1] . $line_of_text[2] . "<BR>";
}
fclose($file_handle);
?>
画面: "メール@ address1email @ address2email @アドレス3 ..."
phpで画面を1行に印刷できますか?
ファイルのように1行にCSVを画面に印刷したいですか? –
'echo implode(" "、$ line_of_text)' –
@マイケルありがとう!あなたは完璧です:) – Editor