Onbekend |
|
hallo, hallo er was een script hier van voetbal maar, nou krijg ik een fout melding op lijn 1009 ik laat alleen het stuk zien:
{
case 'pts':
array_multisort($points, SORT_DESC, SORT_NUMERIC, $diff, SORT_DESC, SORT_NUMERIC, $goals_for, SORT_DESC, SORT_NUMERIC, $wins, SORT_DESC, SORT_NUMERIC, $goals_against, SORT_ASC, SORT_NUMERIC, $draws, $loses, $pld, SORT_DESC, SORT_NUMERIC, $team, $homewins, $homedraws, $homeloses, $awaywins, $awaydraws, $awayloses, $homegoals, $homegoalsagainst, $awaygoals, $awaygoalsagainst);
break;
case 'd':
array_multisort($diff, SORT_DESC, SORT_NUMERIC, $points, SORT_DESC, SORT_NUMERIC, $goals_for, SORT_DESC, SORT_NUMERIC, $wins, SORT_DESC, SORT_NUMERIC, $goals_against, SORT_ASC, SORT_NUMERIC, $draws, $loses, $pld, SORT_DESC, SORT_NUMERIC, $team, $homewins, $homedraws, $homeloses, $awaywins, $awaydraws, $awayloses, $homegoals, $homegoalsagainst, $awaygoals, $awaygoalsagainst);
break;
case 'pld':
array_multisort($pld, SORT_DESC, SORT_NUMERIC, $points, SORT_DESC, SORT_NUMERIC, $diff, SORT_DESC, SORT_NUMERIC, $goals_for, SORT_DESC, SORT_NUMERIC, $wins, SORT_DESC, SORT_NUMERIC, $goals_against, SORT_ASC, SORT_NUMERIC, $draws, $loses, $team, $homewins, $homedraws, $homeloses, $awaywins, $awaydraws, $awayloses, $homegoals, $homegoalsagainst, $awaygoals, $awaygoalsagainst);
break;
case 'tw':
array_multisort($wins, SORT_DESC, SORT_NUMERIC, $points, SORT_DESC, SORT_NUMERIC, $diff, SORT_DESC, SORT_NUMERIC, $goals_for, SORT_DESC, SORT_NUMERIC, $goals_against, SORT_ASC, SORT_NUMERIC, $draws, $loses,$pld, SORT_DESC, SORT_NUMERIC, $team, $homedraws, $homeloses,$homewins, $awaywins, $awaydraws, $awayloses, $homegoals, $homegoalsagainst, $awaygoals, $awaygoalsagainst);
break;
case 'td':
array_multisort($draws, SORT_DESC, SORT_NUMERIC, $points, SORT_DESC, SORT_NUMERIC, $diff, SORT_DESC, SORT_NUMERIC, $goals_for, SORT_DESC, SORT_NUMERIC, $wins, SORT_DESC, SORT_NUMERIC, $goals_against, SORT_ASC, SORT_NUMERIC, $loses, $pld, SORT_DESC, SORT_NUMERIC, $team, $homewins, $homeloses, $awaywins, $homedraws, $awaydraws, $awayloses, $homegoals, $homegoalsagainst, $awaygoals, $awaygoalsagainst);
break;
case 'tl':
array_multisort($loses, SORT_ASC, SORT_NUMERIC, $points, SORT_DESC, SORT_NUMERIC, $diff, SORT_DESC, SORT_NUMERIC, $goals_for, SORT_DESC, SORT_NUMERIC, $wins, SORT_DESC, SORT_NUMERIC, $goals_against, SORT_ASC, SORT_NUMERIC, $draws, $pld, SORT_DESC, SORT_NUMERIC, $team, $homewins, $homedraws, $awaywins, $awaydraws, $homeloses, $awayloses, $homegoals, $homegoalsagainst, $awaygoals, $awaygoalsagainst);
break;
case 'tf':
array_multisort($goals_for, SORT_DESC, SORT_NUMERIC, $points, SORT_DESC, SORT_NUMERIC, $diff, SORT_DESC, SORT_NUMERIC, $wins, SORT_DESC, SORT_NUMERIC, $goals_against, SORT_ASC, SORT_NUMERIC, $draws, $loses, $pld, SORT_DESC, SORT_NUMERIC, $team, $homewins, $homedraws, $homeloses, $awaywins, $awaydraws, $awayloses, $homegoals, $homegoalsagainst, $awaygoals, $awaygoalsagainst);
break;
case 'ta':
array_multisort($goals_against, SORT_ASC, SORT_NUMERIC, $points, SORT_DESC, SORT_NUMERIC, $diff, SORT_DESC, SORT_NUMERIC, $goals_for, SORT_DESC, SORT_NUMERIC, $wins, SORT_DESC, SORT_NUMERIC, $draws, $loses, $pld, SORT_DESC, SORT_NUMERIC, $team, $homewins, $homedraws, $homeloses, $awaywins, $awaydraws, $awayloses, $homegoals, $homegoalsagainst, $awaygoals, $awaygoalsagainst);
break;
case 'hw':
array_multisort($homewins, SORT_DESC, SORT_NUMERIC, $points, SORT_DESC, SORT_NUMERIC, $diff, SORT_DESC, SORT_NUMERIC, $goals_for, SORT_DESC, SORT_NUMERIC, $wins, SORT_DESC, SORT_NUMERIC, $goals_against, SORT_ASC, SORT_NUMERIC, $draws, $loses,$pld, SORT_DESC, SORT_NUMERIC, $team, $homedraws, $homeloses, $awaywins, $awaydraws, $awayloses, $homegoals, $homegoalsagainst, $awaygoals, $awaygoalsagainst);
break;
case 'hd':
array_multisort($homedraws, SORT_DESC, SORT_NUMERIC, $points, SORT_DESC, SORT_NUMERIC, $diff, SORT_DESC, SORT_NUMERIC, $goals_for, SORT_DESC, SORT_NUMERIC, $wins, SORT_DESC, SORT_NUMERIC, $goals_against, SORT_ASC, SORT_NUMERIC, $draws, $loses, $pld, SORT_DESC, SORT_NUMERIC, $team, $homewins, $homeloses, $awaywins, $awaydraws, $awayloses, $homegoals, $homegoalsagainst, $awaygoals, $awaygoalsagainst);
break;
case 'hl':
array_multisort($homeloses, SORT_ASC, SORT_NUMERIC, $points, SORT_DESC, SORT_NUMERIC, $diff, SORT_DESC, SORT_NUMERIC, $goals_for, SORT_DESC, SORT_NUMERIC, $wins, SORT_DESC, SORT_NUMERIC, $goals_against, SORT_ASC, SORT_NUMERIC, $draws, $loses, $pld, SORT_DESC, SORT_NUMERIC, $team, $homewins, $homedraws, $awaywins, $awaydraws, $awayloses, $homegoals, $homegoalsagainst, $awaygoals, $awaygoalsagainst);
break;
case 'hf':
array_multisort($homegoals, SORT_DESC, SORT_NUMERIC, $points, SORT_DESC, SORT_NUMERIC, $diff, SORT_DESC, SORT_NUMERIC, $goals_for, SORT_DESC, SORT_NUMERIC, $wins, SORT_DESC, SORT_NUMERIC, $goals_against, SORT_ASC, SORT_NUMERIC, $draws, $loses, $pld, SORT_DESC, SORT_NUMERIC, $team, $homewins, $homedraws, $homeloses, $awaywins, $awaydraws, $awayloses, $homegoalsagainst, $awaygoals, $awaygoalsagainst);
break;
case 'ha':
array_multisort($homegoalsagainst, SORT_ASC, SORT_NUMERIC, $points, SORT_DESC, SORT_NUMERIC, $diff, SORT_DESC, SORT_NUMERIC, $goals_for, SORT_DESC, SORT_NUMERIC, $wins, SORT_DESC, SORT_NUMERIC, $goals_against, SORT_ASC, SORT_NUMERIC, $draws, $loses, $pld, SORT_DESC, SORT_NUMERIC, $team, $homewins, $homedraws, $homeloses, $awaywins, $awaydraws, $awayloses, $homegoals, $awaygoals, $awaygoalsagainst);
break;
case 'aw':
array_multisort($awaywins, SORT_DESC, SORT_NUMERIC, $points, SORT_DESC, SORT_NUMERIC, $diff, SORT_DESC, SORT_NUMERIC, $goals_for, SORT_DESC, SORT_NUMERIC, $wins, SORT_DESC, SORT_NUMERIC, $goals_against, SORT_ASC, SORT_NUMERIC, $draws, $loses, $pld, SORT_DESC, SORT_NUMERIC, $team, $homewins, $homedraws, $homeloses, $awaydraws, $awayloses, $homegoals, $homegoalsagainst, $awaygoals, $awaygoalsagainst);
break;
case 'ad':
array_multisort($awaydraws, SORT_DESC, SORT_NUMERIC, $points, SORT_DESC, SORT_NUMERIC, $diff, SORT_DESC, SORT_NUMERIC, $goals_for, SORT_DESC, SORT_NUMERIC, $wins, SORT_DESC, SORT_NUMERIC, $goals_against, SORT_ASC, SORT_NUMERIC, $draws, $loses, $pld, SORT_DESC, SORT_NUMERIC, $team, $homewins, $homedraws, $homeloses, $awaywins, $awayloses, $homegoals, $homegoalsagainst, $awaygoals, $awaygoalsagainst);
break;
case 'al':
array_multisort($awayloses, SORT_ASC, SORT_NUMERIC, $points, SORT_DESC, SORT_NUMERIC, $diff, SORT_DESC, SORT_NUMERIC, $goals_for, SORT_DESC, SORT_NUMERIC, $wins, SORT_DESC, SORT_NUMERIC, $goals_against, SORT_ASC, SORT_NUMERIC, $draws, $loses, $pld, SORT_DESC, SORT_NUMERIC, $team, $homewins, $homedraws, $homeloses, $awaywins, $awaydraws, $homegoals, $homegoalsagainst, $awaygoals, $awaygoalsagainst);
break;
case 'af':
array_multisort($awaygoals, SORT_DESC, SORT_NUMERIC, $points, SORT_DESC, SORT_NUMERIC, $diff, SORT_DESC, SORT_NUMERIC, $goals_for, SORT_DESC, SORT_NUMERIC, $wins, SORT_DESC, SORT_NUMERIC, $goals_against, SORT_ASC, SORT_NUMERIC, $draws, $loses, $pld, SORT_DESC, SORT_NUMERIC, $team, $homewins, $homedraws, $homeloses, $awaywins, $awaydraws, $awayloses, $homegoals, $homegoalsagainst, $awaygoalsagainst);
break;
case 'aa':
array_multisort($awaygoalsagainst, SORT_ASC, SORT_NUMERIC, $points, SORT_DESC, SORT_NUMERIC, $diff, SORT_DESC, SORT_NUMERIC, $goals_for, SORT_DESC, SORT_NUMERIC, $wins, SORT_DESC, SORT_NUMERIC, $goals_against, SORT_ASC, SORT_NUMERIC, $draws, $loses, $pld, SORT_DESC, SORT_NUMERIC, $team, $homewins, $homedraws, $homeloses, $awaywins, $awaydraws, $awayloses, $homegoals, $homegoalsagainst, $awaygoals);
break;
default:
array_multisort($points, SORT_DESC, SORT_NUMERIC, $diff, SORT_DESC, SORT_NUMERIC, $goals_for, SORT_DESC, SORT_NUMERIC, $wins, SORT_DESC, SORT_NUMERIC, $goals_against, SORT_ASC, SORT_NUMERIC, $draws, $loses, $pld, SORT_DESC, SORT_NUMERIC, $team, $homewins, $homedraws, $homeloses, $awaywins, $awaydraws, $awayloses, $homegoals, $homegoalsagainst, $awaygoals, $awaygoalsagainst);
break;
}
{ case 'pts': array_multisort($points, SORT_DESC , SORT_NUMERIC , $diff, SORT_DESC , SORT_NUMERIC , $goals_for, SORT_DESC , SORT_NUMERIC , $wins, SORT_DESC , SORT_NUMERIC , $goals_against, SORT_ASC , SORT_NUMERIC , $draws, $loses, $pld, SORT_DESC , SORT_NUMERIC , $team, $homewins, $homedraws, $homeloses, $awaywins, $awaydraws, $awayloses, $homegoals, $homegoalsagainst, $awaygoals, $awaygoalsagainst); break; case 'd': array_multisort($diff, SORT_DESC , SORT_NUMERIC , $points, SORT_DESC , SORT_NUMERIC , $goals_for, SORT_DESC , SORT_NUMERIC , $wins, SORT_DESC , SORT_NUMERIC , $goals_against, SORT_ASC , SORT_NUMERIC , $draws, $loses, $pld, SORT_DESC , SORT_NUMERIC , $team, $homewins, $homedraws, $homeloses, $awaywins, $awaydraws, $awayloses, $homegoals, $homegoalsagainst, $awaygoals, $awaygoalsagainst); break; case 'pld': array_multisort($pld, SORT_DESC , SORT_NUMERIC , $points, SORT_DESC , SORT_NUMERIC , $diff, SORT_DESC , SORT_NUMERIC , $goals_for, SORT_DESC , SORT_NUMERIC , $wins, SORT_DESC , SORT_NUMERIC , $goals_against, SORT_ASC , SORT_NUMERIC , $draws, $loses, $team, $homewins, $homedraws, $homeloses, $awaywins, $awaydraws, $awayloses, $homegoals, $homegoalsagainst, $awaygoals, $awaygoalsagainst); break; case 'tw': array_multisort($wins, SORT_DESC , SORT_NUMERIC , $points, SORT_DESC , SORT_NUMERIC , $diff, SORT_DESC , SORT_NUMERIC , $goals_for, SORT_DESC , SORT_NUMERIC , $goals_against, SORT_ASC , SORT_NUMERIC , $draws, $loses,$pld, SORT_DESC , SORT_NUMERIC , $team, $homedraws, $homeloses,$homewins, $awaywins, $awaydraws, $awayloses, $homegoals, $homegoalsagainst, $awaygoals, $awaygoalsagainst); break; case 'td': array_multisort($draws, SORT_DESC , SORT_NUMERIC , $points, SORT_DESC , SORT_NUMERIC , $diff, SORT_DESC , SORT_NUMERIC , $goals_for, SORT_DESC , SORT_NUMERIC , $wins, SORT_DESC , SORT_NUMERIC , $goals_against, SORT_ASC , SORT_NUMERIC , $loses, $pld, SORT_DESC , SORT_NUMERIC , $team, $homewins, $homeloses, $awaywins, $homedraws, $awaydraws, $awayloses, $homegoals, $homegoalsagainst, $awaygoals, $awaygoalsagainst); break; case 'tl': array_multisort($loses, SORT_ASC , SORT_NUMERIC , $points, SORT_DESC , SORT_NUMERIC , $diff, SORT_DESC , SORT_NUMERIC , $goals_for, SORT_DESC , SORT_NUMERIC , $wins, SORT_DESC , SORT_NUMERIC , $goals_against, SORT_ASC , SORT_NUMERIC , $draws, $pld, SORT_DESC , SORT_NUMERIC , $team, $homewins, $homedraws, $awaywins, $awaydraws, $homeloses, $awayloses, $homegoals, $homegoalsagainst, $awaygoals, $awaygoalsagainst); break; case 'tf': array_multisort($goals_for, SORT_DESC , SORT_NUMERIC , $points, SORT_DESC , SORT_NUMERIC , $diff, SORT_DESC , SORT_NUMERIC , $wins, SORT_DESC , SORT_NUMERIC , $goals_against, SORT_ASC , SORT_NUMERIC , $draws, $loses, $pld, SORT_DESC , SORT_NUMERIC , $team, $homewins, $homedraws, $homeloses, $awaywins, $awaydraws, $awayloses, $homegoals, $homegoalsagainst, $awaygoals, $awaygoalsagainst); break; case 'ta': array_multisort($goals_against, SORT_ASC , SORT_NUMERIC , $points, SORT_DESC , SORT_NUMERIC , $diff, SORT_DESC , SORT_NUMERIC , $goals_for, SORT_DESC , SORT_NUMERIC , $wins, SORT_DESC , SORT_NUMERIC , $draws, $loses, $pld, SORT_DESC , SORT_NUMERIC , $team, $homewins, $homedraws, $homeloses, $awaywins, $awaydraws, $awayloses, $homegoals, $homegoalsagainst, $awaygoals, $awaygoalsagainst); break; case 'hw': array_multisort($homewins, SORT_DESC , SORT_NUMERIC , $points, SORT_DESC , SORT_NUMERIC , $diff, SORT_DESC , SORT_NUMERIC , $goals_for, SORT_DESC , SORT_NUMERIC , $wins, SORT_DESC , SORT_NUMERIC , $goals_against, SORT_ASC , SORT_NUMERIC , $draws, $loses,$pld, SORT_DESC , SORT_NUMERIC , $team, $homedraws, $homeloses, $awaywins, $awaydraws, $awayloses, $homegoals, $homegoalsagainst, $awaygoals, $awaygoalsagainst); break; case 'hd': array_multisort($homedraws, SORT_DESC , SORT_NUMERIC , $points, SORT_DESC , SORT_NUMERIC , $diff, SORT_DESC , SORT_NUMERIC , $goals_for, SORT_DESC , SORT_NUMERIC , $wins, SORT_DESC , SORT_NUMERIC , $goals_against, SORT_ASC , SORT_NUMERIC , $draws, $loses, $pld, SORT_DESC , SORT_NUMERIC , $team, $homewins, $homeloses, $awaywins, $awaydraws, $awayloses, $homegoals, $homegoalsagainst, $awaygoals, $awaygoalsagainst); break; case 'hl': array_multisort($homeloses, SORT_ASC , SORT_NUMERIC , $points, SORT_DESC , SORT_NUMERIC , $diff, SORT_DESC , SORT_NUMERIC , $goals_for, SORT_DESC , SORT_NUMERIC , $wins, SORT_DESC , SORT_NUMERIC , $goals_against, SORT_ASC , SORT_NUMERIC , $draws, $loses, $pld, SORT_DESC , SORT_NUMERIC , $team, $homewins, $homedraws, $awaywins, $awaydraws, $awayloses, $homegoals, $homegoalsagainst, $awaygoals, $awaygoalsagainst); break; case 'hf': array_multisort($homegoals, SORT_DESC , SORT_NUMERIC , $points, SORT_DESC , SORT_NUMERIC , $diff, SORT_DESC , SORT_NUMERIC , $goals_for, SORT_DESC , SORT_NUMERIC , $wins, SORT_DESC , SORT_NUMERIC , $goals_against, SORT_ASC , SORT_NUMERIC , $draws, $loses, $pld, SORT_DESC , SORT_NUMERIC , $team, $homewins, $homedraws, $homeloses, $awaywins, $awaydraws, $awayloses, $homegoalsagainst, $awaygoals, $awaygoalsagainst); break; case 'ha': array_multisort($homegoalsagainst, SORT_ASC , SORT_NUMERIC , $points, SORT_DESC , SORT_NUMERIC , $diff, SORT_DESC , SORT_NUMERIC , $goals_for, SORT_DESC , SORT_NUMERIC , $wins, SORT_DESC , SORT_NUMERIC , $goals_against, SORT_ASC , SORT_NUMERIC , $draws, $loses, $pld, SORT_DESC , SORT_NUMERIC , $team, $homewins, $homedraws, $homeloses, $awaywins, $awaydraws, $awayloses, $homegoals, $awaygoals, $awaygoalsagainst); break; case 'aw': array_multisort($awaywins, SORT_DESC , SORT_NUMERIC , $points, SORT_DESC , SORT_NUMERIC , $diff, SORT_DESC , SORT_NUMERIC , $goals_for, SORT_DESC , SORT_NUMERIC , $wins, SORT_DESC , SORT_NUMERIC , $goals_against, SORT_ASC , SORT_NUMERIC , $draws, $loses, $pld, SORT_DESC , SORT_NUMERIC , $team, $homewins, $homedraws, $homeloses, $awaydraws, $awayloses, $homegoals, $homegoalsagainst, $awaygoals, $awaygoalsagainst); break; case 'ad': array_multisort($awaydraws, SORT_DESC , SORT_NUMERIC , $points, SORT_DESC , SORT_NUMERIC , $diff, SORT_DESC , SORT_NUMERIC , $goals_for, SORT_DESC , SORT_NUMERIC , $wins, SORT_DESC , SORT_NUMERIC , $goals_against, SORT_ASC , SORT_NUMERIC , $draws, $loses, $pld, SORT_DESC , SORT_NUMERIC , $team, $homewins, $homedraws, $homeloses, $awaywins, $awayloses, $homegoals, $homegoalsagainst, $awaygoals, $awaygoalsagainst); break; case 'al': array_multisort($awayloses, SORT_ASC , SORT_NUMERIC , $points, SORT_DESC , SORT_NUMERIC , $diff, SORT_DESC , SORT_NUMERIC , $goals_for, SORT_DESC , SORT_NUMERIC , $wins, SORT_DESC , SORT_NUMERIC , $goals_against, SORT_ASC , SORT_NUMERIC , $draws, $loses, $pld, SORT_DESC , SORT_NUMERIC , $team, $homewins, $homedraws, $homeloses, $awaywins, $awaydraws, $homegoals, $homegoalsagainst, $awaygoals, $awaygoalsagainst); break; case 'af': array_multisort($awaygoals, SORT_DESC , SORT_NUMERIC , $points, SORT_DESC , SORT_NUMERIC , $diff, SORT_DESC , SORT_NUMERIC , $goals_for, SORT_DESC , SORT_NUMERIC , $wins, SORT_DESC , SORT_NUMERIC , $goals_against, SORT_ASC , SORT_NUMERIC , $draws, $loses, $pld, SORT_DESC , SORT_NUMERIC , $team, $homewins, $homedraws, $homeloses, $awaywins, $awaydraws, $awayloses, $homegoals, $homegoalsagainst, $awaygoalsagainst); break; case 'aa': array_multisort($awaygoalsagainst, SORT_ASC , SORT_NUMERIC , $points, SORT_DESC , SORT_NUMERIC , $diff, SORT_DESC , SORT_NUMERIC , $goals_for, SORT_DESC , SORT_NUMERIC , $wins, SORT_DESC , SORT_NUMERIC , $goals_against, SORT_ASC , SORT_NUMERIC , $draws, $loses, $pld, SORT_DESC , SORT_NUMERIC , $team, $homewins, $homedraws, $homeloses, $awaywins, $awaydraws, $awayloses, $homegoals, $homegoalsagainst, $awaygoals); break; default: array_multisort($points, SORT_DESC , SORT_NUMERIC , $diff, SORT_DESC , SORT_NUMERIC , $goals_for, SORT_DESC , SORT_NUMERIC , $wins, SORT_DESC , SORT_NUMERIC , $goals_against, SORT_ASC , SORT_NUMERIC , $draws, $loses, $pld, SORT_DESC , SORT_NUMERIC , $team, $homewins, $homedraws, $homeloses, $awaywins, $awaydraws, $awayloses, $homegoals, $homegoalsagainst, $awaygoals, $awaygoalsagainst); break; }
en ik krijg de fout:
Warning: Argument 1 to array_multisort() is expected to be an array or a sort flag in capache\htdocs\league\index.php on line 1009
hopelijk kan iemand mij helpen .
greetzz,mark Zerato^^
|