Welcome Guest, Not a member yet? Register   Sign In
Problem in URL
#1

[eluser]Tamilmani[/eluser]
Hi,

This is my sample URL

http://localhost/project/index.php/users/result/3/a//b

users- Controller
result- Function
and then arg1,arg2,arg3 and arg4 like..

By actually 3nd argument have no value .

But if i print the 3rd argument , i am able to get the result ( 4th arugument is assign to 3rd)Empty is not accepting ?

Is there any idea to fix this issue ?

Thanks
Tamilmani Mohan
#2

[eluser]mohsin917[/eluser]
Hello bro... You can't send the empty argument in you URL if you do then the next one will automatically take the previous place. For easy solution just send 0 to the third if there is no data to send

http://localhost/project/index.php/users/result/3/a/0/b




Theme © iAndrew 2016 - Forum software by © MyBB