diff options
Diffstat (limited to 'record_transaction.php')
| -rw-r--r-- | record_transaction.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/record_transaction.php b/record_transaction.php new file mode 100644 index 00000000..c587a3e8 --- /dev/null +++ b/record_transaction.php @@ -0,0 +1,14 @@ +<?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); +?> |
