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