Welcome Guest, Not a member yet? Register   Sign In
can uri segment accept last segment value as 0, why? why not?
#2

[eluser]InsiteFX[/eluser]
Did you try echoing it out to see what you get?

Most likely PHP will think it is FALSE 0 if it doe's then you could try the below.
Code:
$value = (int) $this->url->segment(3);


Messages In This Thread
can uri segment accept last segment value as 0, why? why not? - by El Forum - 02-22-2012, 07:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB