the code i have got for the database connection looks like this and it is placed before the body tag in the php page so that it has no effect on what it being displayed on the page
$query = "SELECT broad1 FROM images_broad";
$result=mysql_query($query);
while($row=mysql_fetch_array($result, MYSQL_ASSOC)){
$message.= '<img src="'.$row['broad1'].'"/>';
when the variable l $message has been set to equal the image from the database would it be displayed in the image tag in the body of the message like this
<img src=\"$message\" />