Welcome Guest, Not a member yet? Register   Sign In
how to pass empty variable into url?
#1

[eluser]Unknown[/eluser]
hello..

i've create a class with index function like this

Code:
class Myclass extends Controller
{
function Myclass()
{
  parent::Controller();
}

function index($var1="",$var2="",$var3="",$var4="")
{
  .... bla bla bla
}
}

this URL is working the way i wanted:
http://blabla.com/codeigniter/myclass/in...3/content4

but with this url, i can't get var4 value
http://blabla.com/codeigniter/myclass/index////content4

why is that happen? any solution?

sorry for my poor english Smile


Messages In This Thread
how to pass empty variable into url? - by El Forum - 06-14-2010, 03:52 AM
how to pass empty variable into url? - by El Forum - 06-14-2010, 04:02 AM
how to pass empty variable into url? - by El Forum - 06-14-2010, 04:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB