Previous Page
Contact Info
PHP Demo 2 - Printing to CSV files in PHP
Client:
Portfolio Demos
Date:
October 20, 2013
Tools:
Notepad++
Languages:
HTML5, CSS3, PHP, CSV
Job Request
Printing to CSV files.
Your email
Subject
Message
Code Below
?php $email = $_POST['email']; $name = $_POST['name']; $data = $name . "," . $email; $file = "file.csv"; file_put_contents ($file,$data . PHP_EOL, FILE_APPEND); print "Thank you for submitting your email address."; echo "
Results
" ?
Click to Expand
View My Portfolio