Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

PHP echo multiple lines example Using Heredoc

<?php
//Heredoc variable
$var=<<<EOD
We
	Welcome
You
On
Our
Softhunt
Website
EOD;
echo $var;
?>
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #PHP #echo #multiple #lines #Using #Heredoc
ADD COMMENT
Topic
Name
2+8 =