how can I write html code between PHP tag -


i want write html code between php without using of echo

i want write

<?php    <div>     <ul>       <li>my text</li>       <li>my text</li>       <li>my text</li>       <li>my text</li>       <li>my text</li>     </ul>   </div>  ?> 

or use heredoc syntax. https://php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc

<?php  $str = <<<eod example of string spanning multiple lines using heredoc syntax. eod; echo $str; ?> 

Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -