Welcome Guest, Not a member yet? Register   Sign In
displaying an image in a template
#3

thx. I modified it to:

if ($_GET['typo']=='SOFTWARE'){
echo '<script type="text/JavaScript"><img src="<?php echo base_url(); ?>assets/themes/default/images/new_blue_logo_sub240x240.png" style="float:left;margin-top:5px;z-index:5" alt="logo"/>
</script>';
}
When i run it with localhost?typo=SOFTWARE I get this error:

ERROR - 2020-10-24 04:56:43 --> Severity: Notice --> Undefined index: typo /app/application/views/themes/default3.php 136
proof that an old dog can learn new tricks
Reply


Messages In This Thread
displaying an image in a template - by richb201 - 10-23-2020, 06:45 PM
RE: displaying an image in a template - by richb201 - 10-23-2020, 10:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB