variable php echo code example
Example 1: php echo variable
<?php
$name = "John Doe";
echo "Hey $name!";
?>
Example 2: php echo html and variable
echo '<img src="' . $Variable . '">';
<?php
$name = "John Doe";
echo "Hey $name!";
?>
echo '<img src="' . $Variable . '">';