[SOLVED] Affiliate Layout
Posted: Wed Sep 14, 2005 4:24 pm
View here: http://hiddenskills.net/affiliates.php
I want the affiliate layout to be like this (periods used only to show spacing):
Affiliate button........Affiliate button........Affiliate button........Affiliate button
....(Hits: #).................. (Hits: #)..................(Hits: #)..................(Hits: #)
This is the code that gets the affiliate data and prints the buttons / hits.
If you go to the link above you can see that it returns after every affiliate button. What can I do to have 4 affiliates go across instead of carriage return after every affiliate?
I want the affiliate layout to be like this (periods used only to show spacing):
Affiliate button........Affiliate button........Affiliate button........Affiliate button
....(Hits: #).................. (Hits: #)..................(Hits: #)..................(Hits: #)
This is the code that gets the affiliate data and prints the buttons / hits.
Code: Select all
while($row = mysql_fetch_assoc($result))
{
echo "<a href=\"/out.php?id=".$row['id']."\" target=\"_blank\"><img src=\"".$row['button']."\" width=\"88\" height=\"31\" border=\"0\"></a><br><font size=\"2\">(Hits out: ".$row['hits'].")</font>";
}