Html - display images using <img> but sources is php variable

how do i put php variables into the images i want to display on html using the <img>

<img src="$imagename" /**>

:ko: thank you**