Welcome Guest, Not a member yet? Register   Sign In
how to get string before the second slash as a parameter??
#2

Look at the URI library: https://www.codeigniter.com/user_guide/l...s/uri.html

This should do what you want:


PHP Code:
$segment $this->uri->segment(1); 
Reply


Messages In This Thread
RE: how to get string before the second slash as a parameter?? - by tomdchi - 04-18-2018, 12:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB