Roost3r
09-19-2002, 04:21 PM
yes this is a php question
Hi,
My website is at http://www.xtremehw.com and I want to add a banner spanning the height of the first 2 news articles.
im using..
while ($myrow = mysql_fetch_array($news)) {
newsinfo
}
i tried adding a if statement to add another cell for the adv like this.
$newsadv = 0;
if ($newsadv = 0) {
echo " <td rowspan\"2\"> adv here</td>";
}
$newsadv++;
but that didnt work; i tried other ways but still cant get a adv in that spot....
any suggestions? thanks
Hi,
My website is at http://www.xtremehw.com and I want to add a banner spanning the height of the first 2 news articles.
im using..
while ($myrow = mysql_fetch_array($news)) {
newsinfo
}
i tried adding a if statement to add another cell for the adv like this.
$newsadv = 0;
if ($newsadv = 0) {
echo " <td rowspan\"2\"> adv here</td>";
}
$newsadv++;
but that didnt work; i tried other ways but still cant get a adv in that spot....
any suggestions? thanks