PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
<?php
$body = '
you can span multiple'.$lines.'
you can span multiple'.$lines.'
you can span multiple'.$lines.'
';
$body = "
you can also use $double $quotes
you can also use $double $quotes
you can also use $double $quotes
";
$body = <<<FOO
you can also use "heredoc syntax"
.....'''''"""""
quotes dont need to be escaped, and
$variables will be expanded properly.
however it is a tiny bit slower.
my advice will cost you $20 dollars
(notice that a $ followed by a number didnt give an error)
FOO;
?>