Getyou 0 Newbie Poster

<?php

                            $dataContent = $user->name;

                            if ($user->active) {

                                if (!$user->active) {
                                    $dataContent .= ' <span class="label label-default">Inactive</span>';
                                }

                                if($user->teams and $user->active){
                                    foreach ($user->teams as $team){
                                        $dataContent .= ' <span class="label label-primary">'.$team->name.'</span>';
                                    }
                                }

                                $assignee = isset($filter_var['assignee']) ? $filter_var['assignee'] : [];
                                if (!filter_var($assignee)) {
                                    $assignee = [$assignee];
                                }
                                $assignee = array_unique($assignee);
                            }

                            ?>

// I just need to look for the right code on how to hide "assignee" which was in the drop down list. I tried everything but nothing happens.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.