Skip to main content
Participant
March 15, 2012
Question

Repeating Region problem

  • March 15, 2012
  • 1 reply
  • 804 views

I'm having a problem for the last 2 days that I can't seem to solve. In the picture below you'll see I used Repeat Region for "bigTitle". When I do this, the contents for description won't display. As a matter a fact, ANY dynamic text that goes under a repeat region won display. However, If I instead used repeat region on "description", both "bigTitle" and "bar" will display content just fine.

There seems to be a problem having dynamic text below the repeat region and not above. HELP! Thanks in advance. 

This topic has been closed for replies.

1 reply

Participating Frequently
March 15, 2012

The answer is in the code. Screen shots don't tell anything.

Participant
March 15, 2012

Participant
March 16, 2012

I think I figured out what the problem is but not the solution. Here's the code(all of this is generated by DW):

<?php do { ?>

  <?php echo $row_rsAbout['bar']; ?>

  <?php } while ($row_rsAbout = mysql_fetch_assoc($rsAbout)); ?>

<?php echo $row_rsAbout['bigTitle']; ?>

<?php echo $row_rsAbout['description']; ?>

</body>

</html>

<?php

mysql_free_result($rsAbout);

?>

I'm using a repeat region on 'bar'. Below that is 'bigTitle' and 'description'. When you run the code it seems that after the browser runs thru the do..while section it stop running the rest of the queries. How can I fix this?