Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Help with Nested repeat region. need 2 columns
Old 08-24-2008, 11:56 PM Help with Nested repeat region. need 2 columns
Junior Talker

Posts: 1
Name: Robert
Trades: 0
Hi i have a nested repeat region created with dreamweaver developer toolbox and it works but i need this to display in two columns instead of one. Can anyone help?

///////////Code i have/////////////

<table width="335" border="0">
<?php do { ?>
<tr>
<td width="16"><img src="<?php echo tNG_showDynamicImage("", "Adv_categorys/", "{master1GC_adv_categoryies.ad_cat_icons}");?> " /></td>
<td width="346" bgcolor="#CC9900" class="whiteMediumbold"><b><?php echo $row_master1GC_adv_categoryies['ad_cat_name']; ?></b></td>
</tr>
<?php
if ($totalRows_master1GC_adv_categoryies>0) {
$nested_query_detail2GC_advertisers = str_replace("123456789", $row_master1GC_adv_categoryies['ad_cat_id'], $query_detail2GC_advertisers);
mysql_select_db($database_SiteAdmin);
$detail2GC_advertisers = mysql_query($nested_query_detail2GC_advertisers, $SiteAdmin) or die(mysql_error());
$row_detail2GC_advertisers = mysql_fetch_assoc($detail2GC_advertisers);
$totalRows_detail2GC_advertisers = mysql_num_rows($detail2GC_advertisers);
$nested_sw = false;
if (isset($row_detail2GC_advertisers) && is_array($row_detail2GC_advertisers)) {
do { //Nested repeat
?>
<tr>
<td colspan="2">&nbsp;&nbsp;&nbsp;<span class="GoldLinkText"><span class="style2">&gt;&gt;</span>
<a href="advertisersAdThumb.php?rda_id=<?php echo $row_detail2GC_advertisers['rda_id']; ?>"><?php echo $row_detail2GC_advertisers['rda_name']; ?></a>
<input name="rda_id" type="hidden" id="rda_id" value="<?php echo $row_detail2GC_advertisers['rda_id']; ?>" />
</span></td>
</tr>
<?php
} while ($row_detail2GC_advertisers = mysql_fetch_assoc($detail2GC_advertisers)); //Nested move next
}
}
?>
<?php } while ($row_master1GC_adv_categoryies = mysql_fetch_assoc($master1GC_adv_categoryies)); ?>
</table>
rkteach is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to Help with Nested repeat region. need 2 columns
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.50064 seconds with 12 queries