Welcome Guest, Not a member yet? Register   Sign In
How to pass array in URL?
#4

[eluser]NikhilSukul[/eluser]
Thanks, now it works for me like this

i just need to create a function with a default param like

Controller is blog
function comments(array="")
{
array=$this->uri->segment_array();
}

so the url can be http://baseurl/blog/comments/abc/xyz/test/dfdf/dfdfdff

it will give me all the elements as array.

thanks


Messages In This Thread
How to pass array in URL? - by El Forum - 10-22-2009, 03:24 AM
How to pass array in URL? - by El Forum - 10-22-2009, 04:19 AM
How to pass array in URL? - by El Forum - 10-22-2009, 04:19 AM
How to pass array in URL? - by El Forum - 10-22-2009, 04:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB