This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php /* This changes the CSV into another CSV. But merges duplicated fields. */ | |
$fh = fopen("clubexp.csv", "r"); | |
$row = 0; | |
$clubs = array(); | |
while (($data = fgetcsv($fh, 1000, ",")) !== FALSE) { | |
// ID | |
$club_id = $data[0]; | |
// Day |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: ${PLUGIN_NAME} | |
Plugin URI: http://www.barrykooij.com/${CLASS_NAME} | |
Description: ${PLUGIN_DESC} | |
Version: 1.0.0 | |
Author: Barry Kooij | |
Author URI: http://www.barrykooij.com/ | |
*/ |