greekdish Posted March 3, 2009 Share Posted March 3, 2009 I need some help getting this to work. Im using Dreamweaver CS4, and Im also trying to use some of their Spry features. I have gotten the Tabbed Browsing spry framework working on many other projects...the problem is now trying to implement and learn php and mysql into it. Im trying to make a gallery with each tab a certain "album category"....and the content in each page's content to reflect each selected tab. Here is the basic code I have, and what I would like is for the "aid" in the repeating region to increase by 1 with each repeat. I have the tabs loading dynamically wonderfully....with each category displaying across....this link is to an older version of what Im doing.... http://ugworks.com/ugworks/portfolio.php So as I said above, what I have no are the top links above the content is dynamically loading now, with 7 tabs, now I need to repeat the TabbedPanelsContent section dynamically so it lists the content from the database from that specific album category. Basically, Im using the database from Coppermine, and connecting to that database to display what I want for my portfolio. <div id="TabbedPanels1" class="TabbedPanels"> <ul class="TabbedPanelsTabGroup"> <?php do { ?> <li class="TabbedPanelsTab" tabindex="0"><?php echo $row_rsAlbums['title']; ?></li> <?php } while ($row_rsAlbums = mysql_fetch_assoc($rsAlbums)); ?> </ul> <div class="TabbedPanelsContentGroup"> <div class="TabbedPanelsContent"><?php echo $row_rsGallery['filepath']; ?> <?php echo $row_rsGallery['filename']; ?> </div> </div> </div> I hope I was clear in my request. I am a newbie afterall. TIA Nick Link to comment https://forums.phpfreaks.com/topic/147761-incremental-repeating-region/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.