print html in php properly code example
Example 1: print in php
print_r("");
Example 2: print html code in php
<?php
echo "<h2>HTML with PHP!</h2>";
echo "Hello world!<br>";
echo "I'm about to learn PHP!<br>";
?>
print_r("");
<?php
echo "<h2>HTML with PHP!</h2>";
echo "Hello world!<br>";
echo "I'm about to learn PHP!<br>";
?>