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

(This post was last modified: 04-19-2018, 11:39 AM by imalegend.)

$route['(:any)'] = 'login/index/?center=$1';

it's works but don't get the center as a $_GET parameter

altough absolute address work and get the center as a $_GET parameter!:

http://localhost/hamresan/login/index/?c...nstitution

the get center=myinstitution
Reply


Messages In This Thread
RE: how to get string before the second slash as a parameter?? - by imalegend - 04-19-2018, 11:34 AM



Theme © iAndrew 2016 - Forum software by © MyBB