<?php $type=$this->session->userdata('type'); //type of campaign (ir software, pharma, etc) if ($type==2) //this is for software { <script> li ><a href = '<?php echo site_url('Configure / IUS_management')?>' > IUS</a ></li > </script> } ?>