hi all
i want to display two offer ads images in my php page. i am able to fetch data from mysql in my page. But the trouble is the script below displays the data in rows like one ad image above and second ad image below.
i want to display one ad in left and second ad in its right. how is it possible.
vineet
<?php
$qry="select * from special_offers order by offer_id";
$result = mysql_query($qry);
if(mysql_num_rows($result)>0)
{
while($row=mysql_fetch_array($result))
{
echo "<tr>";
echo "<td valign=top>". "<img height=200 width=253 src='admin/uploads/" . $row['offer_image'] . "'/>" . "</td>";
echo "</tr>";
}
}
?>