Welcome Guest, Not a member yet? Register   Sign In
How to use $request->uri->getSegment() inside view?
#1
Exclamation 

I'm trying to use `$ request-> uri-> getSegment (1)` in the view but I get an error saying "Undefined variable: request", what should I do to display a given segment in the view?
Reply


Messages In This Thread
How to use $request->uri->getSegment() inside view? - by 0x0undefined - 06-20-2020, 11:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB