Posted by Lόpher Cypher on 01/02/06 21:57
mathijs rooda wrote:
> Hello,
>
> <table width="215" border="0" align="center" cellpadding="0"
> cellspacing="0">
> <tr>
> <td width="761"><div align="center"><img src="./gifs/pic_57.gif"
> width="212" height="3"></div></td> (SHOWS DOTTET LINE)
> </tr>
> </table>
> <?php }} while ($row_newsleft = mysql_fetch_assoc($newsleft)); ?>
> <?php
> mysql_free_result($newsleft);
> ?>
Since you limit the number of rows returned, you can do this:
$i = 0;
while ($row_newsleft = mysql_fetch_assoc($newsleft) && $i++) {
echo "<table ...> ...";
...
if ($i != $maxRows_newsleft-1) {
echo "<div><img ... /></div>"; // dotted line
}
echo "</table>";
}
--
- lΓΌpher
---------------------------------------------
"Man sieht nur das, was man weiΓ" (Goethe)
Navigation:
[Reply to this message]
|