php echo html string as javascript variable code example Example: php echo html and variable echo '<img src="' . $Variable . '">';