Hi All, I have a problem where A popup window should open echoing message pulled from DB. This was working but it doesn't anymore. The popup window will pop up only when you click on the link that corespondes to the first record in the DB the rest do nothing. When I echo the records without the popup everything works fine but I really need the popup. Any help would be much appreciated. Here is the code.
<?php do { ?>
<?php if ($row_Recordset7['koments'] <> '') { // Show if recordset not empty ?>
<a href="#" onClick="MM_popupMsg('<?php echo $row_Recordset7['koments'] ?>')" onMouseOver="MM_swapImage('Image2','','images/koments_f2.gif',1)" onMouseOut="MM_swapImgRestore()"><img src="images/koments.gif" name="Image2" width="11" height="14" border="0"></a>
<?php } // Show if recordset not empty ?>
</span></td>
</tr>
<?php } while ($row_Recordset7 = mysql_fetch_assoc($Recordset7)); ?>