<div id="item1" style="display: none;"> <table border="1" width="100%" id="table1"> <tr> <td><?php echo $test ?></td> </tr> </table> </div>