scliburn Posted July 21, 2006 Share Posted July 21, 2006 $css .= <<<End_of_CSS<link rel="stylesheet" href="css/css.css" type="text/css" media="all" />End_of_CSS;is there any importance to the above over the below?$css .- '<link rel="stylesheet" href="css/css.css" type="text/css" media="all" />';??? Link to comment https://forums.phpfreaks.com/topic/15273-why-would-this-be-needed-css/ Share on other sites More sharing options...
wildteen88 Posted July 21, 2006 Share Posted July 21, 2006 I seen no need to for a HEREDOC statment just to print 1 line of html, but if its mulitple lines 10+ then I'd use heredoc. However if its a 1 liner or 1 or 2 lines I'd use single quotes. Link to comment https://forums.phpfreaks.com/topic/15273-why-would-this-be-needed-css/#findComment-61732 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.