Reply to Re: hide dottet line

Your name:

Reply:


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)

[Back to original message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация