Welcome Guest, Not a member yet? Register   Sign In
Grab URL value...
#2

[eluser]Dam1an[/eluser]
If you split it up so each part of the item is a seperate URI segment, you can easily grab them using uri->segment

In the current way, you can always get the second segment, which will return "apple-iphone-3g-16gb-black-1" and then explode on the '-' and assuming its always the last part, get the last item in the array


Messages In This Thread
Grab URL value... - by El Forum - 05-26-2009, 02:30 PM
Grab URL value... - by El Forum - 05-26-2009, 02:40 PM
Grab URL value... - by El Forum - 05-26-2009, 03:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB