Welcome Guest, Not a member yet? Register   Sign In
confusing uri_string()
#4

http://www.codeigniter.com/userguide3/he...elper.html

uri_string() does not take an input, it returns the URI segments of the current page.

It sounds like the function you are looking for is probably site_url() (or even base_url(), but you already mentioned it, so I'm not sure why you're looking for something else).

If you are trying to get /APP/testcon/show/$id, you're probably going to need to create your own function to retrieve /APP from $this->config->item('base_url') and prepend it to the desired segments.
Reply


Messages In This Thread
confusing uri_string() - by janul - 02-12-2015, 04:45 PM
RE: confusing uri_string() - by twpmarketing - 02-12-2015, 07:40 PM
RE: confusing uri_string() - by janul - 02-13-2015, 03:15 AM
RE: confusing uri_string() - by mwhitney - 02-13-2015, 10:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB