1 2 3 4 5 6 7 8 9 10 11 12 13
<?php $list = array ( array($_GET['address'], $_GET['date'], $_GET['received'], $_GET['exchange']) ); $fp = fopen('transactions.csv', 'a'); foreach ($list as $fields) { fputcsv($fp, $fields); } fclose($fp); ?>