echo html in php code example
Example 1: How to show php text
<?php
echo "Hello World!";
// You can also do this with a variable:
$YourVariable = "Hello World!";
echo $YourVariable;
?>
Example 2: php echo alot of html
echo <<<CODE
<table>
<tr>
<td><b>Hello World</b></td>
</tr>
</table>
CODE;
Example 3: echo php
<?php
$string = "Hello, World!";
echo $string;
?>
Example 4: who to echo in php
<?php
echo "Afeef Abadel";
?>