Posted: Wed Jul 09, 2003 11:36 am
are you getting this via post?
if so it's in the url. just make sure that there's one place you could have an & and it's the last one.
then get the url, cut out everything but the last entry, run rawurldecode and do what you need then...
i don't know which server var name it is though, so you'll have to look that up
$url=$_SERVER['']; #get url
$url=preg_grep('/textarea_name=.*/i', $url);
$yrl=rawurldecode($url);
now you have just the last element
if so it's in the url. just make sure that there's one place you could have an & and it's the last one.
then get the url, cut out everything but the last entry, run rawurldecode and do what you need then...
i don't know which server var name it is though, so you'll have to look that up
$url=$_SERVER['']; #get url
$url=preg_grep('/textarea_name=.*/i', $url);
$yrl=rawurldecode($url);
now you have just the last element