----- Original Message ----- 
From: "Brian E Boothe" 

if i fill out a online form that i made   how can i get it to transpose 
values to an excel Spreadsheet ??
------------------------------
A correction - 

$csv  = '"' . $r1c1  . '","' . $r1c2 . '"' . "\n";
$csv .= '"' . $r2c1  . '","' . $r2c2 . '"' . "\n";
// removed the \r from \r\n
// So $csv is in unix format and will work with get_csv()
str_replace("\n", "\r", $csv);
// now $csv converted to windows format

fh$=fopen("spreadsheet.csv", "w");
fwrite($fh, $csv);
fclose($fh);

Reply via email to