SummerSoaring 2014 | Total Ranking (Day By Day)"; ?> string 'Rank' (length=4) 1 => string 'Status' (length=6) 2 => string 'Player' (length=6) 3 => string 'CN' (length=2) 4 => string 'RN' (length=2) 5 => string 'Plane' (length=5) 6 => string 'Dist' (length=4) 7 => string 'Time' (length=4) 8 => string 'Speed' (length=5) 9 => string 'Penalty' (length=7) 10 => string 'Score' (length=5) 11 => string 'TeamScore' (length=9) 12 => string 'Team' (length=4) */ //print_r($data); $color = "1"; $handle = fopen("csv/overall.csv", "r"); while (($data = fgetcsv($handle)) !== FALSE) { //var_dump($data); $data[5] = str_replace("[", "", $data[5]); $data[5] = str_replace("]", "", $data[5]); $data[6] = str_replace("[", "", $data[6]); $data[6] = str_replace("]", "", $data[6]); $data[7] = str_replace("[", "", $data[7]); $data[7] = str_replace("]", "", $data[7]); $data[8] = str_replace("[", "", $data[8]); $data[8] = str_replace("]", "", $data[8]); $data[9] = str_replace("[", "", $data[9]); $data[9] = str_replace("]", "", $data[9]); $data[10] = str_replace("[", "", $data[10]); $data[10] = str_replace("]", "", $data[10]); $data[11] = str_replace("[", "", $data[11]); $data[11] = str_replace("]", "", $data[11]); $data[12] = str_replace("[", "", $data[12]); $data[12] = str_replace("]", "", $data[12]); $data[13] = str_replace("[", "", $data[13]); $data[13] = str_replace("]", "", $data[13]); $data[14] = str_replace("[", "", $data[14]); $data[14] = str_replace("]", "", $data[14]); $data[15] = str_replace("[", "", $data[15]); $data[15] = str_replace("]", "", $data[15]); $data[16] = str_replace("[", "", $data[16]); $data[16] = str_replace("]", "", $data[16]); $td_value = "'; echo $td_value.$optionclass.">$data[0]".$td_value_close; echo $td_value.">$data[1]".$td_value_close; echo $td_value.">$data[2]".$td_value_close; echo $td_value.">$data[4]".$td_value_close; echo $td_value.">$data[5]".$td_value_close; echo $td_value.">$data[6]".$td_value_close; echo $td_value.">$data[7]".$td_value_close; echo $td_value.">$data[8]".$td_value_close; echo $td_value.">$data[9]".$td_value_close; echo $td_value.">$data[10]".$td_value_close; echo $td_value.">$data[11]".$td_value_close; echo $td_value.">$data[12]".$td_value_close; echo $td_value.">$data[13]".$td_value_close; echo $td_value.">$data[14]".$td_value_close; echo $td_value.">$data[15]".$td_value_close; echo $td_value.">$data[16]".$td_value_close; echo ""; $td_value = ""; $td_value_close = ""; } ?>