Skip to content

Instantly share code, notes, and snippets.

<?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
<?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/
*/