Rendering on a PHP List

I am writing a php application and the menu is read from a table. I have the following code:

<?php do { ?>

<?php echo $row_rs_menu['MenuName']; ?>

var myBorder = RUZEE.ShadedBorder.create( {corner:8, showdow: 16} ) ;
myBorder.render('navbutton');

<?php } while ($row_rs_menu = mysql_fetch_assoc($rs_menu)); ?>

The rendering occurs fine on the first item, but not on the following items.

Can someone help please?

Thanks!

Trackback URL for this post:

http://www.ruzee.com/trackback/270