public function oneToMany($id,$name,$img,$gender)
    {
        $ids = explode(',', $id);
        $names = explode(',', $name);
        $imgs = explode(',', $img);
        $genders = explode(',', $gender);

        for ($i=0; $i <count($names) ; $i++) { 
            $male = "";
            if($genders[$i] == 1) $male = " class=\"shop-staff-male\" ";
            echo "<a href=\"/staff/show/".$ids[$i]."\"".$male.">".$names[$i]."</a>";
        }
    }