Welcome Guest, Not a member yet? Register   Sign In
View string needs escape if back slash on end
#11

For some reason if I use all forward / slashes CodeIgniter throws me the WHOOPS! Error

If I access it like below it works.

PHP Code:
echo view('Insitefx\Admin\Views/'.$slug); 

Namespaces use the back slash \

So my question is this the correct way of defining this url?

Or will this also cause problems?
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: View string needs escape if back slash on end - by InsiteFX - 07-04-2019, 08:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB