Need a little help working out how to display a stored image within an echo output of php...
I am wanting the img scr below to WITHIN the php to retrieve and display the image as part of the link. However all i get is the verbage img scr='add.jpg'; as the link, not the image.
echo "<a style='font-family:$fontfamily; font-size:$fontsize; color:'black'; font-weight:$fontweight;"
." text-decoration:$textdecoration;' onmouseover=\"window.status='Add a Run'; return true\""
." onmouseout=\"window.status=''\" href=\"log.php?goyear=$linkyear&godays=$linkday&gomonth=$linkmonth\">"
."img src='add.jpg';</a>"; //===IMAGE ====HERE======
?>
This retrieves the image just fine OUTSIDE of the php
<img src="add.jpg" />
<?
Appreciate the input as well as any resources for coding html within php, it seems to get kinda messy!!