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

(06-20-2020, 11:02 AM)0x0undefined Wrote: 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?

Is there an answer for his problem? I have the same thing.
Reply


Messages In This Thread
RE: How to use $request->uri->getSegment() inside view? - by LuxesR - 06-29-2021, 12:42 PM



Theme © iAndrew 2016 - Forum software by © MyBB