Im new to PHP and I can\'t figure out what the rules are for using the echo function. For example, if I need to echo a large block of css/js, do I need to add echo to each line
Check out heredoc. Example:
echo <<
The is also nowdoc but no parsing is done inside the block.
echo <<<'EOD' Example of string spanning multiple lines using nowdoc syntax. EOD;