View Single Post
  #5  
Old 06-05-2009, 04:05 AM
Quillink Quillink is offline
Member
 
Join Date: Dec 2008
Posts: 93
Credits: 11,308
Quillink
Default RE: A 2-column table?

Thanks, but I've already sorted that part out. :)

I've managed to create two (4) columns, but the right hand one is just a replica of the left one. Is there any way to stagger them?
This is what I've got at the moment:
PHP Code:
// Our code to determine if we show the table or not...

$article_content $article_content."<table width='530' border='1' bordercolor='#CCCCCC' rules=rows frame=hsides><tr>";

// Output the table information...
// Get the current adoptable's image

$image getcurrentimage($aid);

$article_content $article_content."<td width=110 height=110><div align='center'><a href=levelup.php?id=".$aid."'><img src='".$image."' border=0></a>
<td width=115><div align='left'>
<b> - "
.$name."</b><br>
<i>Current Level:</i> "
.$currentlevel."<br>
<i>Total Clicks:</i> "
.$totalclicks."<br>
<b><a href='myadopts.php?act=manage&id="
.$aid."'>More info</a></b>
<td><div align='left'>
</div></td></div></td>"


$article_content $article_content."<td width=110 height=110><div align='center'><a href=levelup.php?id=".$aid."'><img src='".$image."' border=0></a>
<td width=115><div align='left'>
<b> - "
.$name."</b><br>
<i>Current Level:</i> "
.$currentlevel."<br>
<i>Total Clicks:</i> "
.$totalclicks."<br>
<b><a href='myadopts.php?act=manage&id="
.$aid."'>More info</a></b>
<td><div align='left'>
</div></td></div></td>"
;

$article_content $article_content."</tr></table>"
As you can see, all I've done is copy/paste another two columns in..
Thanks in advance. :)
Reply With Quote