Skip to content

Instantly share code, notes, and snippets.

@gaurish
Created June 29, 2011 16:02
Show Gist options
  • Save gaurish/1054169 to your computer and use it in GitHub Desktop.
Save gaurish/1054169 to your computer and use it in GitHub Desktop.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Output of $_POST variable coming from simple html form
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Array
(
[T1] => 29/06/2011
[T2] => 001
[T3] => John
[S1] => Sample Error description
[errortype] => Form
[whichform] => 3rd party
[B1] => add entry
)
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
write to CSV file of following format
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Date,Sort code,Staff member,Error description,Error type,Error type
29/06/2011,001,John,Sample Error description,Form,3rd party,add entry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment