I need a little bit of help. I am pretty new to PHP so this might be an easy one for you guys. I have a while loop that is in a table. The problem I have is when the while loop returns no value, it does not build the rest of the table so row 1 might have 13 columns and row 2 might have 11 and I have no ides how to fix it. Here is the code I am using right now. Thanks for the help.
$num = 0;
while ($r2 = oci_fetch_array(results2))
{
echo "<td>" .$r2['VARIABLE1_DESC']. ": " .$r2['VARIABLE2_COMMENT']. "</td>";
$num++;
}
for (i=6; $i>$num; $i--);