uri->segment not returning value |
[eluser]GeXus[/eluser]
Hello everyone, I'm new to Codeigniter and came across an issue I can't seem to figure out... It's basically just the uri->segment now being shown.. Here's what I have http://domain.com/faq/view/1 Code: (inside Faq controller) Code: function view(){ The "test" prints to the screen, but not the uri-segment value of 1... Any ideas? Thank you!
[eluser]GeXus[/eluser]
Just to add, I echoed out $this->uri->url_string() and it returned nothing. I checked the full array for $this->uri and it's showing all the key's but these values are all blank.
[eluser]GeXus[/eluser]
Just found some other areas within the app that were working, but now are not.. seems like it's an app-wide issue.
[eluser]GeXus[/eluser]
Ok, found the issue.. I had added 'uri' in the libraries array by mistake... must have been re initiating it after the fact... fixed now Thanks for letting me talk it outloud |
Welcome Guest, Not a member yet? Register Sign In |