Note that there are some explanatory texts on larger screens.

plurals
  1. PODynamic Record Generation in Table. Not displaying data properly
    primarykey
    data
    text
    <p>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.</p> <p>This is the code:</p> <pre><code>&lt;tr&gt; &lt;?php do { ?&gt; &lt;td&gt;&amp;nbsp;&lt;/td&gt; &lt;td&gt;&lt;?php echo $row_Recordset1['notification']; ?&gt;&lt;/td&gt; &lt;td&gt;&lt;?php echo $row_Recordset1['online_date']; ?&gt;&lt;/td&gt; &lt;td&gt;&amp;nbsp;&lt;/td&gt; &lt;td&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?&gt; </code></pre> <p>It generates the following output: <img src="https://i.stack.imgur.com/hdkSA.jpg" alt="My 3rs record&#39;s notification is empty, and 4th record is not displaying properly."></p> <p>Row HTML Output is:</p> <pre><code>&lt;form id="form1" name="form1" method="post" action=""&gt; &lt;table width="900" align="center" cellpadding="0" cellspacing="0"&gt; &lt;tr&gt; &lt;td rowspan="6"&gt;&amp;nbsp;&lt;/td&gt; &lt;td colspan="5"&gt;&lt;div align="center"&gt;Active Notifications &lt;/div&gt;&lt;/td&gt; &lt;td rowspan="6"&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td colspan="5"&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;No.&lt;/td&gt; &lt;td&gt;Notifications&lt;/td&gt; &lt;td&gt;Online Date &lt;/td&gt; &lt;td colspan="2"&gt;Transactions&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&amp;nbsp;&lt;/td&gt; &lt;td&gt;Our New destinations are Countries.&lt;/td&gt; &lt;td&gt;2012-12-27&lt;/td&gt; &lt;td&gt;&amp;nbsp;&lt;/td&gt; &lt;td&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&amp;nbsp;&lt;/td&gt; &lt;td&gt;abcdefgh&lt;/td&gt; &lt;td&gt;2012-12-27&lt;/td&gt; &lt;td&gt;&amp;nbsp;&lt;/td&gt; &lt;td&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&amp;nbsp;&lt;/td&gt; &lt;td&gt;Hi&lt;/td&gt; &lt;td&gt;2012-12-27&lt;/td&gt; &lt;td&gt;&amp;nbsp;&lt;/td&gt; &lt;td&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&amp;nbsp;&lt;/td&gt; &lt;td&gt;hello&lt;/td&gt; &lt;td&gt;2012-12-27&lt;/td&gt; &lt;td&gt;&amp;nbsp;&lt;/td&gt; &lt;td&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td colspan="5"&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&amp;nbsp;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/form&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload