Code: Select all
function update_Teams_list() {
// Update Teams
$Teams = array();
$res = sql("select Teams from Teams order by Teams", $eo);
while($row = db_fetch_assoc($res))
$Teams[] = $row['Teams'];
// save the Teams to the options list file
$list_file = dirname(__FILE__) . '/Leagues.TeamsList.csv';
@file_put_contents($list_file, implode(';;', $Teams));
}
My hope is somebody can help me fix this so that everything is output into the one cell again (A1)