print variable in php in html code example
Example 1: php echo html and variable
echo '<img src="' . $Variable . '">';
Example 2: print in php
print_r("");
Example 3: echo php
<?php
$string = "Hello, World!";
echo $string;
?>
echo '<img src="' . $Variable . '">';
print_r("");
<?php
$string = "Hello, World!";
echo $string;
?>