From: <[EMAIL PROTECTED]>

> Unfortunatly thats not an option since some dumb founded people will be
using
> the script and they dont understand that concept...
>
> any other suggestions?
>
> - Peter


Okay, a heredoc may be better then:

<?php
    $title = <<<END
<title>blah "blah" blah</title>
END;
    echo $title;
?>

The syntax in your original e-mail was not quite right - heredocs should
work fine with quotes.

http://www.php.net/manual/language.types.string.php


Cheers

Simon Garner


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to