use div and php variable in echo php code example Example: php echo html and variable echo '<img src="' . $Variable . '">';