# \[PHP\] repeat region

**URL:** https://forum.kirupa.com/t/php-repeat-region/89287
**Category:** programming
**Created:** [May 6, 2005, 6:11pm UTC](https://forum.kirupa.com/t/php-repeat-region/89287 "2005-05-06T18:11:54Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![alapimba](https://avatars.discourse-cdn.com/v4/letter/a/ea666f/32.png) [@alapimba](https://forum.kirupa.com/u/alapimba)
#### Post date: [May 6, 2005, 6:11pm UTC](https://forum.kirupa.com/t/php-repeat-region/89287/1 "2005-05-06T18:11:54Z")

</div>

Hello,

i’m building a site with php in dreamweaver but i’m with a problem

when i use the repeat region server behaviour i can’t use dynamic text anymore.  
I mean let’s imagine that i have on the left a repeat region behaviour of news with links to the complete new. and on the right of the site i want to display the new… but it don’t appear.

i’m using data from a mysql db.

this is the code i’m using to repeat region:

```php
<?php do { ?>
<span class="titulo_not"><?php echo $row_rs_news['titulo']; ?></span> <a href="../noticias.php"><img src="../img/lupa.gif" width="11" height="10" border="0"></a><br>
	<span class="data"><?php echo $row_rs_news['data']; ?><br>
	<br>
</span>
	<?php } while ($row_rs_news = mysql_fetch_assoc($rs_news)); ?>

```

and this is for the dynamic field alone without repeat:

```php
<?php echo $row_rs_news['texto']; ?></p>

```

Anyone can help me?
