mikegreen


Member since 05/20/2008

12 snippets

5608 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

mikegreen's Recent Snippets



« Prev 1 Next »
# Export MySQL Data as CSV This code takes a `mysql_query()` resource and outputs its rows into CSV spreadsheet format. Edit the `header('Content-Disposition...` declaration to tell the user's browser to either display the data as plain text or do...
6 1612 posted 16 years ago by mikegreen
Borrowed from Ajaxian, url is above.
0 1162 posted 16 years ago by mikegreen
2 1493 posted 17 years ago by mikegreen
Matches single line Javascript (and PHP, etc.) comments
1 1051 posted 17 years ago by mikegreen
Matches CSS-style comments spanning one or multiple lines
2 1799 posted 17 years ago by mikegreen
0 1203 posted 17 years ago by mikegreen
1 1246 posted 17 years ago by mikegreen
1 1221 posted 17 years ago by mikegreen
1 1258 posted 17 years ago by mikegreen
Simple command line option parser snippet
1 1300 posted 17 years ago by mikegreen
« Prev 1 Next »