friends
i,m making a page that retieve data from database and show them and these data include a picture for each one of them i could upload this pic with the data by a page in which i can insert data and this pic into database but when it is time to retrieve these data to be shown into this page i could show these data but each pic related to it,s specific topic was not retrieved to be shown beside it i can see a red ( X ) instead of the speific pic
so i need you to guide me to a tutorial by which i can follow to show mulitple pics retrieved from database
a snap shot of the page is included to see how do each pic look like
Thank you
here is the code
$get=mysql_query ("SELECT * FROM tourism_news order by id desc LIMIT $start , $per_page");
echo "<table border='1' width='100%' bordercolor='red'> ";
while ($row = mysql_fetch_assoc($get))
{
$lastid=mysql_insert_id();
echo "<table border='1' width='100%' bordercolor='red'> ";
echo" <tr align='right'>";
echo"
<td align='right' height='22' width='50%' ></td>
<td align='right' height='22' width='60%' background='titlebar.jpg' ><font color='white'><b> " .$row['topic']. " </b></font></td>
";
echo" </tr>";
echo "<table border='1' width='100%' bordercolor='green'> ";
echo"<tr><td align='right' width='70%' ><font color='black'> ".$row['summary']." <a href='show_this_news.php?id=".$row['id']."' title='".$row['topic']."'>التفاصيل</a>
</font></td><td align='right' rowspan='2' width='30%' >"; echo"<image src=getimage.php?id=$lastid >";
echo"</td>";
echo" </tr>";
echo"<tr><td align='left' width='70%' ><font color='black'>".$row['date']." مضاف بتاريخ</font></td>";
echo" </tr>";
}
?>

