Re: [PHP] Getting knotted with quotes encoding - (one possible solution)

2012-03-20 Thread tamouse mailing lists
On Mon, Mar 19, 2012 at 10:43 AM, Arno Kuhl wrote: > -Original Message- > From: tamouse mailing lists [mailto:tamouse.li...@gmail.com] > Sent: 19 March 2012 10:28 AM > To: php-general@lists.php.net > Subject: Re: [PHP] Getting knotted with quotes encoding - (one possi

RE: [PHP] Getting knotted with quotes encoding - (one possible solution)

2012-03-19 Thread Arno Kuhl
-Original Message- From: tamouse mailing lists [mailto:tamouse.li...@gmail.com] Sent: 19 March 2012 10:28 AM To: php-general@lists.php.net Subject: Re: [PHP] Getting knotted with quotes encoding - (one possible solution) On Sun, Mar 18, 2012 at 10:19 PM, Tamara Temple wrote: > On

Re: [PHP] Getting knotted with quotes encoding - (one possible solution)

2012-03-19 Thread tamouse mailing lists
On Sun, Mar 18, 2012 at 10:19 PM, Tamara Temple wrote: > On Tue, 13 Mar 2012 16:35:44 +0200, Arno Kuhl sent: > >> From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] >> Sent: 13 March 2012 03:25 PM >> To: a...@dotcontent.net; php-general@lists.php.net >> Subj

RE: [PHP] Getting knotted with quotes encoding - (one possible solution)

2012-03-18 Thread Tamara Temple
On Tue, 13 Mar 2012 16:35:44 +0200, Arno Kuhl sent: From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: 13 March 2012 03:25 PM To: a...@dotcontent.net; php-general@lists.php.net Subject: Re: [PHP] Getting knotted with quotes encoding Arno Kuhl wrote: I've been battling

RE: [PHP] Getting knotted with quotes encoding - (one possible solution)

2012-03-13 Thread Arno Kuhl
From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: 13 March 2012 03:25 PM To: a...@dotcontent.net; php-general@lists.php.net Subject: Re: [PHP] Getting knotted with quotes encoding Arno Kuhl wrote: >I've been battling with quotes encoding when outputting javascript with &

Re: [PHP] Getting knotted with quotes encoding

2012-03-13 Thread Ashley Sheridan
Arno Kuhl wrote: >I've been battling with quotes encoding when outputting javascript with >php. >It can't be unique, so I'm hoping someone has a working solution >they're >willing to share. > >The following works perfectly as long as there aren't any single quotes >in >the link text: > ec

[PHP] Getting knotted with quotes encoding

2012-03-13 Thread Arno Kuhl
I've been battling with quotes encoding when outputting javascript with php. It can't be unique, so I'm hoping someone has a working solution they're willing to share. The following works perfectly as long as there aren't any single quotes in the link text: echo "$sTitle"; if $sTitle has