visitor (0 QPoints)
  • FR
  • EN
  • NL
  • DE
  • ES
315 experts, 1193 registered users, 1659 questions already answered
European Experts Exchange, the very best site for high-quality IT solutions

New Improved Search!

 


05/10/2011 1h30 : Steve Jobs is dead, the father of Apple ][ is gone, we are all orphaned.

Languages :: PHP :: Mod please help


By: Tool123 U.S.A.  Date: 21/09/2003 00:00:00  English  Points: 125 Status: Answered
Quality : Excellent
<div align=center>
<center>
<table border=1 cellpadding=0 cellspacing=0 style=border-collapse: collapse bordercolor=" . $tableborder . " width=500>
<tr>
<td width=100% bgcolor=" . $tableheader . "><center><font color=" . $tableheadfont . "><b>" . $lang['recommended'] . ":</b></font></td>
</tr>
<tr>
<td width=100% bgcolor=" . $tablebody . ">";
if($cat == ""){ $cat = "1"; }
$wyn = "SELECT * FROM toplista WHERE active='y' && banner<>'' && category='$cat' ORDER BY RAND() LIMIT 1";
$wykonaj = mysql_query($wyn);
$znaleziono = mysql_num_rows($wykonaj);

$tab = mysql_fetch_row($wykonaj);
$urlb = $tab[1];

print "<center>
<a href=out.php?id=".$tab[7]."&url=".$tab[1]." target=_blank><img src=".$tab[3]." border=0></a>

</b></td></tr></table>";

?>







as you guys can see that there is a table called recommended and a banner inside now it has it set up for the person who has the most incoming can u guys alter it to have the banner <A HREF="http://blueshadowz.com">http://blueshadowz.com</a> and url for img <A HREF="http://blueshadowz.com/rope2.gif">http://blueshadowz.com/rope2.gif</a>

if u guys are confused i mean

"<center>
<a href=out.php?id=".$tab[7]."&url=".$tab[1]." target=_blank><img src=".$tab[3]." border=0></a>

</b></td></tr></table>";

that part looks like the banner part thanks
By: VGR Date: 21/09/2003 00:37:00 English  Type : Answer
sure :D

<div align=center>
<center>
<table border=1 cellpadding=0 cellspacing=0 style=border-collapse: collapse bordercolor=" . $tableborder . " width=500>
<tr>
<td width=100% bgcolor=" . $tableheader . "><center><font color=" . $tableheadfont . "><b>" . $lang['recommended'] . ":</b></font></td>
</tr>
<tr>
<td width=100% bgcolor=" . $tablebody . ">";
if($cat == ""){ $cat = "1"; }
$wyn = "SELECT * FROM toplista WHERE active='y' && banner<>'' && category='$cat' ORDER BY RAND() LIMIT 1";
$wykonaj = mysql_query($wyn);
$znaleziono = mysql_num_rows($wykonaj);

$tab = mysql_fetch_row($wykonaj);
$urlb = $tab[1];

// hardcoded modification
$tab[3]='<A HREF="http://blueshadowz.com/rope2.gif">http://blueshadowz.com/rope2.gif</a>';
// below was : out.php?id=".$tab[7]."&url=".$tab[1]."
//EoHardcode

print "<center>
<a href=<A HREF="http://blueshadowz.com">http://blueshadowz.com</a> target=_blank><img src=".$tab[3]." border=0></a>

</b></td></tr></table>";

?>





Do register to be able to answer

EContact
browser fav
page generated in 291.108850 milliseconds

Why Google AdSense ads ?

compteur
 Ranking-Hits PageRank for this page