On Mon, June 5, 2006 9:02 am, justin randell wrote:
> On 6/5/06, Voytek Eymont <[EMAIL PROTECTED]> wrote:

>> I'd like to include a word with an "'s" like "individual's permission"
>> what the proper way to do this ? (change the outer  ' ' to " " ?)
>
> yes, that will work.

Justin, Matthew, thanks.
yes, I've opted for changing to " "

> I'd definitely consider changing the quotes, but you can escape a quote
> with a backslash, so 'individual\'s permission' will work.  But it's
> better to go double quotes, because otherwise (especially in a long string
> like that) you'll edit the text, add another apostrophe, forget to quote
> it, and everything will explode again.

yes, that what I was worried about

> A separate but related issue is that of the wisdom of defining long
> chunks of HTML inside of PHP, when there's a perfectly valid method of
> escaping from PHP and going back to good ol' dump-out-the-text mode, but
> I've given
> up even trying to win that war with PHP programmers.

yes... but I'm only editing an existing app's file

-- 
Voytek

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to