|
Posted by Jamie Davison on 09/09/05 21:04
Not sure if you necessarily want to urlencode/decode here. All you really
need here is . . .
$data = stripslashes($_POST['field']);
echo $data;
On 9/9/05 6:21 AM, in article 432161fd$1@news1.homechoice.co.uk, "elyob"
<newsprofile@gmail.com> wrote:
> Quite a lot of my data has apostrophes in. I'm passing the data using $_POST
> and urlencode. So, for example, Joe's becomes Joe%27s.
>
> On the next page, I urldecode and display the name in the META title. It
> comes out as Joe\'s.
>
> When I pass it once again, it becomes Joe\\\'s.
>
> What am I doing wrong here?
>
> Thanks
>
>
Navigation:
[Reply to this message]
|