pagination segment lost |
[eluser]zenon[/eluser]
I've mapped Code: $config['uri_segment'] = 4, Code: <?php echo base_url() + uri_string();?>"> the last fragment of the built uri is always 0. Why ?
[eluser]InsiteFX[/eluser]
Did you try? Code: <?php echo base_url() + $this->uri_string();?>"> InsiteFX
[eluser]Cristian Gilè[/eluser]
Code: <?php echo current_url(); ?> Please, post your code. Cristian Gilè
[eluser]zenon[/eluser]
I've noticed another problem still using uri : Supposing my URI is http://localhost/myapp/index.php/places/...page//id/1 when i call Code: $this->uri->uri_to_assoc(4); a print_r of the given array produces Quote:Array ( [page] => id [1] => ) but it's not my expected result, because page should be false and id = 1. What can I do to handle all those params value that can be valorized or not according to the situation? Anyway I would not to use number segment. |
Welcome Guest, Not a member yet? Register Sign In |