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