These days I seem to looking a lot a print_r output. For the uninitiated, print_r is a handy PHP function to allow you to print the contents of an array in a neat, readable format. Continue reading “Parse Print_r output and convert into CSV”
If you want to convert comma separated values into an associated array, then use the following code.
Continue reading “Convert CSV data into an associative array”
I was working on exporting CSV data to a Google spreadsheet recently. The first thing I had to do was implement a way to allow a user to authenticate themselves with Google from our site. There are a few ways of doing this.
Here’s a brief outline…
Continue reading “Export data to Google spreadsheet with OAuth”