Welcome Guest, Not a member yet? Register   Sign In
CI goes crazy with iframes
#3

(This post was last modified: 02-26-2024, 07:36 AM by CelticPhantom.)

(02-25-2024, 10:26 PM)luckmoshy Wrote: Severity: Notice

Message: Trying to get the property 'section' of non-object

Filename: models/CourseModel.php

Line Number: 47

Don't you see here that there is an issue

Hi thanks for the reply.

My issue is that if I have this code:
Code:
<section>
            CodeIgniter 
            <h2>It really is</h2>
    </section>
it works as expected.

As soon as I change this to:
Code:
<section>
            CodeIgniter 
            <iframe src="https://programiz.pro" title="programiz pro website" height="500" width="500" ></iframe>
    </section>

CodeIgniter throws up the error messages.

Why would it even check/run my data model when all I am doing is inserting HTML code?

The data model code is working fine elsewhere in my project so there is no issue with that.

Thanks
Reply


Messages In This Thread
CI goes crazy with iframes - by CelticPhantom - 02-25-2024, 04:05 PM
RE: CI goes crazy with iframes - by luckmoshy - 02-25-2024, 10:26 PM
RE: CI goes crazy with iframes - by CelticPhantom - 02-26-2024, 07:35 AM
RE: CI goes crazy with iframes - by InsiteFX - 02-26-2024, 10:41 PM
RE: CI goes crazy with iframes - by JustJohnQ - 02-27-2024, 03:37 AM
RE: CI goes crazy with iframes - by CelticPhantom - 02-27-2024, 06:26 AM
RE: CI goes crazy with iframes - by JustJohnQ - 02-27-2024, 08:01 AM
RE: CI goes crazy with iframes - by CelticPhantom - 02-27-2024, 10:24 AM
RE: CI goes crazy with iframes - by JustJohnQ - 02-27-2024, 01:57 PM
RE: CI goes crazy with iframes - by CelticPhantom - 02-29-2024, 07:56 AM
RE: CI goes crazy with iframes - by JustJohnQ - 02-29-2024, 09:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB