Welcome Guest, Not a member yet? Register   Sign In
running a script in a php module
#13

(This post was last modified: 02-03-2021, 01:19 PM by richb201.)

I am trying to do something similar here but am having trouble with the <script></script> section.
 

PHP Code:
               <?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</></li >
                       </script>
                        }
                ?>
proof that an old dog can learn new tricks
Reply


Messages In This Thread
running a script in a php module - by richb201 - 01-29-2021, 03:57 PM
RE: running a script in a php module - by craig - 01-29-2021, 05:29 PM
RE: running a script in a php module - by craig - 01-30-2021, 05:00 AM
RE: running a script in a php module - by craig - 01-31-2021, 05:22 AM
RE: running a script in a php module - by craig - 01-31-2021, 08:45 AM
RE: running a script in a php module - by craig - 02-01-2021, 11:52 AM
RE: running a script in a php module - by richb201 - 02-03-2021, 01:16 PM
RE: running a script in a php module - by craig - 02-03-2021, 01:19 PM
RE: running a script in a php module - by craig - 02-03-2021, 01:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB