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