how to get string before the second slash as a parameter?? |
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); |
Messages In This Thread |
how to get string before the second slash as a parameter?? - by imalegend - 04-18-2018, 09:29 AM
RE: how to get string before the second slash as a parameter?? - by tomdchi - 04-18-2018, 12:50 PM
RE: how to get string before the second slash as a parameter?? - by skunkbad - 04-18-2018, 01:25 PM
RE: how to get string before the second slash as a parameter?? - by imalegend - 04-19-2018, 12:46 AM
RE: how to get string before the second slash as a parameter?? - by ciadmin - 04-19-2018, 01:42 AM
RE: how to get string before the second slash as a parameter?? - by imalegend - 04-19-2018, 11:15 AM
RE: how to get string before the second slash as a parameter?? - by imalegend - 04-19-2018, 11:34 AM
|