A couple resources to help :
http://www.php.net/manual/en/language.types.string.php
http://www.zend.com/zend/tut/using-strings.php
Each describes the ability to do :
$var = 'blah "blah" blah';
$var = "blah 'blah' blah";
$var = "blah \"blah\" blah";
And using here doc, <<< , like so
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:
blah "blah" blah
END;
echo $title;
?>
The syntax in yo
From: <[EMAIL PROTECTED]>
> Hey,
>
> Wondering if any of you can help me with a problem
>
> im trying to get something like this into $var :
>
> blah "blah" blah
>
> How can I do it if its multi lined
>
> Someone suggested
> content = END <<
> BLAH BLAHC
> BLHAC
> END;
>
> but that doesnt
Hey,
Wondering if any of you can help me with a problem
im trying to get something like this into $var :
blah "blah" blah
How can I do it if its multi lined
Someone suggested
content = END <<
BLAH BLAHC
BLHAC
END;
but that doesnt seem to work with quotes
Thanks
- Peter
--
PHP General Ma
4 matches
Mail list logo