PHP-Code:
	
	
public function sort ($key = 'nachname'){
    
        function compare ($x, $y){
            global $key;
            if ($x [$key] == $y [$key])
                return 0;
            else if ($x [$key] < $y [$key])
                return -1;
            else
                return 1;
        }
        error_reporting(E_ALL);
        usort ($this->DataList, 'compare');
}
// Gibt einen Fehler aus
// Notice: Undefined index: in D:\..\sort.php on line 156 
Vielen Dank!!!
 
          
 .
.
Kommentar