petermosquito
New Member
I have the following code in which data from a database's table is displayed in a table. But after 2-3 records, it is not displaying records properly.This is the code:\[code\]<tr> <?php do { ?> <td> </td> <td><?php echo $row_Recordset1['notification']; ?></td> <td><?php echo $row_Recordset1['online_date']; ?></td> <td> </td> <td> </td> </tr> <?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>\[/code\]It generates the following output:
Row HTML Output is:\[code\]<form id="form1" name="form1" method="post" action=""> <table width="900" align="center" cellpadding="0" cellspacing="0"> <tr> <td rowspan="6"> </td> <td colspan="5"><div align="center">Active Notifications </div></td> <td rowspan="6"> </td> </tr> <tr> <td colspan="5"> </td> </tr> <tr> <td>No.</td> <td>Notifications</td> <td>Online Date </td> <td colspan="2">Transactions</td> </tr> <tr> <td> </td> <td>Our New destinations are Countries.</td> <td>2012-12-27</td> <td> </td> <td> </td> </tr> <tr> <td> </td> <td>abcdefgh</td> <td>2012-12-27</td> <td> </td> <td> </td> </tr> <tr> <td> </td> <td>Hi</td> <td>2012-12-27</td> <td> </td> <td> </td> </tr> <tr> <td> </td> <td>hello</td> <td>2012-12-27</td> <td> </td> <td> </td> </tr> <tr> <td colspan="5"> </td> </tr> <tr> <td> </td> </tr> </table></form>\[/code\]