I am using codeigniter and wants to shwo the js code only if following condition true
<?php
if(($this->uri->segment(1)!='reports') || ($this->uri->segment(2)!='manageflyers' && $this->uri->segment(3)!='save')){?>
//some js code
<?php }?>
But i does not work please help where i am making the mistake.