html - Table created using PHP has attribute display:none -


i'm struggling strange error. create html table mysql query using php so:

echo "<div id=\"table_div\">"; echo "<table id=\"ad_table\">";  echo "<tr id=\"table_header\"><td>media id</td><td> company</td><td>title/claim</td><td>start - end</td><td>website/email</td><td></td></\td></tr>";    while($row = mysql_fetch_assoc($result)) {    echo "<tr id= " . $row['id']. "><td><b>" .$row['titel'] . "</b> <br>"  . $row['offer'] . "</td><td><button class=\"del_btn\" rel=" . $id . ">delete</button> </td></\td></tr>";    }  echo "</table>";   echo "</div>"; 

but table not visible. can inspect html , table , expected rows present table class has attribute display: none. style not coming stylesheet (i tried without providing any). don't know why table hidden. happens in both chrome , firefox.

any appreciated.


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -