dubfoundry Posted July 28, 2009 Share Posted July 28, 2009 Ok im attempting a nested regions with php.. just to out put catalouge subcategory type ouput. The categories prints out fine but only the first subcategory outputs the other categories have blank subcats...help? here is my code if(isset($_GET['upload'])&& !isset($_GET['edit_gal'])){ require_once('upload.php'); }elseif(isset($_GET['edit_gal'])){ //require_once('gal_edit.php'); echo "<h2>Edit Albums</h2> <br/>"; ?> <p> </p><?php do{ echo $gallery['gal_name'];?> <span class="under_rule"></span> <p> </p> <?php do{ echo $subgal['gal_name'];?> <?php }while($subgal = mysql_fetch_assoc($get_subgal));?> <p> </p><p> </p> <span class="under_rule"></span> <?php }while($gallery = mysql_fetch_assoc($get_gal));}?> Link to comment https://forums.phpfreaks.com/topic/167838-nested-repeat-regions/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.