Sorry, I’m a n00b to web languages. I’m trying to upload a CSV file, parse the second and seventh columns, and output it to the Google Graphs API. This is my first ever time trying to do anything with PHP, so, a example would be nice for me to analyze, but, I can try to figure out everything with documentation as well.
Thank you so much for help in any way.
here’s how you can upload a file with PHP: http://de3.php.net/move_uploaded_file
Parsing a CSV file is easy:
If you then loop through
$csvyou have the second and seventh column in$csv[$iterator][1]and$csv[$iterator][6].I haven’t used Googles Graph API, so I can’t help you with that.