$sql->QueryItem("SELECT COUNT(*) AS good FROM tbl_trajecten WHERE traject_ID=$traject_ID AND ('$rechten'<>'gebruiker' OR $gebruiker_ID=traject_plannerID OR $gebruiker_ID=traject_uitvoerderID)");
if ($sql->data[good]==0) { $test = false; }