Welcome Guest, Not a member yet? Register   Sign In
uri segment returns unexpected result
#1

[eluser]fatman[/eluser]
Hi,

I have a table with value and an Edit button next to each value, when the user click the Edit button the url looks like this: http://localhost/admin/job/edit/job name

I use uri->segment to get the job name, but when it has a space it is replaced by '_'.

So if the job is called 'my job', i get 'my_job', how can i get the real value?

Thanks.


Messages In This Thread
uri segment returns unexpected result - by El Forum - 02-21-2011, 04:00 AM
uri segment returns unexpected result - by El Forum - 02-21-2011, 04:50 AM
uri segment returns unexpected result - by El Forum - 02-21-2011, 05:34 AM
uri segment returns unexpected result - by El Forum - 02-21-2011, 06:14 AM
uri segment returns unexpected result - by El Forum - 02-21-2011, 06:22 AM
uri segment returns unexpected result - by El Forum - 02-21-2011, 09:30 AM
uri segment returns unexpected result - by El Forum - 02-21-2011, 09:34 AM
uri segment returns unexpected result - by El Forum - 02-21-2011, 09:53 AM
uri segment returns unexpected result - by El Forum - 02-21-2011, 10:24 AM
uri segment returns unexpected result - by El Forum - 02-21-2011, 10:48 AM
uri segment returns unexpected result - by El Forum - 02-21-2011, 01:09 PM



Theme © iAndrew 2016 - Forum software by © MyBB