giveWorkIdState($tabWorkId[$i]); } } echo $result; }