how to assign echo to a variable in php 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 . '">';