close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Repeat a repeat region

Thread began 10/18/2011 3:44 pm by Daryl | Last modified 10/20/2011 2:30 am by John Langer | 1758 views | 2 replies |

DarylBeta Tester

Repeat a repeat region

I have a div which contains several repeat regions which extracts data from a recordset.

How would I set the div to repeat through the recordset?

Dreamweaver says that it doesnt support Nested Repeats....

The div looks like this;

php:
<div class="portfolioItemWrapper">

                            <div class="thumbHolder pngfix">

                                <div class="portfolioImgThumb">

                            <span class="portfolio-zoom-image pngfix"> </span><a href="projects.php?Projects=<?php echo $row_portfolio['ContentPageSetOrder']; ?>"><?php mysql_data_seek($portfolio0);
$row_portfolio mysql_fetch_assoc($portfolio);
?><?php do { ?>
<?php 
if ($row_portfolio['ContentPageSetParentID'] ==52)
echo 
$row_portfolio['ContentValue']; ?>
<?php 
} while ($row_portfolio mysql_fetch_assoc($portfolio)); ?></a> </div>
                                <!-- end portfolioImgThumb -->

                            </div>

                            <!-- end thumbHolder -->

                            <h3><a href="projects.php?Projects=<?php mysql_data_seek($portfolio0);
$row_portfolio mysql_fetch_assoc($portfolio);
?><?php echo $row_portfolio['ContentPageSetOrder']; ?>" title="<?php mysql_data_seek($portfolio0);
$row_portfolio mysql_fetch_assoc($portfolio);
?><?php do { ?>
<?php 
if ($row_portfolio['ContentPageSetParentID'] ==57)
echo 
$row_portfolio['ContentValue']; ?>
<?php 
} while ($row_portfolio mysql_fetch_assoc($portfolio)); ?>"><?php mysql_data_seek($portfolio0);
$row_portfolio mysql_fetch_assoc($portfolio);
?><?php do { ?>
<?php 
if ($row_portfolio['ContentPageSetParentID'] ==57)
echo 
$row_portfolio['ContentValue']; ?>
<?php 
} while ($row_portfolio mysql_fetch_assoc($portfolio)); ?></a></h3>

                            <div class="clear"></div>

                            <?php mysql_data_seek($portfolio0);
$row_portfolio mysql_fetch_assoc($portfolio);
?><?php do { ?>
<?php 
if ($row_portfolio['ContentPageSetParentID'] ==53)
echo 
$row_portfolio['ContentValue']; ?>
<?php 
} while ($row_portfolio mysql_fetch_assoc($portfolio)); ?> <a href="projects.php?Projects=<?php mysql_data_seek($portfolio0);
$row_portfolio mysql_fetch_assoc($portfolio);
?><?php echo $row_portfolio['ContentPageSetOrder']; ?>" title="Title">Read more...</a>

                    </div>
Sign in to reply to this post

Dave BuchholzBeta Tester

this link should help you cpsid_52877.html

Sign in to reply to this post

John LangerBeta Tester

Dave is quite right of course but I find that I don't get this problem if I use the WA repeat region. I think it's part of DataAssist if you have it.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...