![]() |
i think its do to with controllers and the way data is passed to a view.
So to use base_url() in a view from memory you have to use url helper ; i tend not to remember because what i've done is declare them in the base controller so that they are there in any subsequent controller that extends from the base controller. Now its no problem echoing out a constant in a controller, but in a view , i guess that would have to be passed, in an appropriate way . |
Messages In This Thread |
Display PNG img in view not working - by flav - 11-25-2021, 06:17 AM
RE: Display PNG img in view not working - by seunex - 11-25-2021, 09:53 AM
RE: Display PNG img in view not working - by ikesela - 11-25-2021, 09:59 AM
RE: Display PNG img in view not working - by captain-sensible - 11-25-2021, 12:27 PM
RE: Display PNG img in view not working - by flav - 11-26-2021, 04:33 AM
RE: Display PNG img in view not working - by captain-sensible - 11-27-2021, 02:24 AM
RE: Display PNG img in view not working - by InsiteFX - 11-28-2021, 03:49 AM
RE: Display PNG img in view not working - by flav - 11-29-2021, 06:16 AM
RE: Display PNG img in view not working - by captain-sensible - 11-29-2021, 07:27 AM
|