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
Submitting Text with "&" character
Moderator: General Moderators
-
bionicdonkey
- Forum Contributor
- Posts: 132
- Joined: Fri Jan 31, 2003 2:28 am
- Location: Sydney, Australia
- Contact:
maybe this will help:
http://www.zend.com/manual/function.htm ... lchars.php
http://www.zend.com/manual/function.htm ... lchars.php