I have a table that is being loaded with values from a mySQL database.
The problem I have is the table is visible when empty (row height>0) and even when loaded with values, the remaining empty rows are forming an empty space /margin on the bottom of the table.
Here is the link:
http://www.troutsalmonchar.com/Pages/FLY_MAIN_Lines.php
The possible solutions are:
1. I use CSS to hide/show the table or the rows that have values. How is this done?
2. I use javascript to achieve the same effect.
3. I create the table in the PHP script. However I am using AJAX to load the values, and I have no idea if I can put a whole table on the screen using this method.
Any ideas?
The problem I have is the table is visible when empty (row height>0) and even when loaded with values, the remaining empty rows are forming an empty space /margin on the bottom of the table.
Here is the link:
http://www.troutsalmonchar.com/Pages/FLY_MAIN_Lines.php
The possible solutions are:
1. I use CSS to hide/show the table or the rows that have values. How is this done?
2. I use javascript to achieve the same effect.
3. I create the table in the PHP script. However I am using AJAX to load the values, and I have no idea if I can put a whole table on the screen using this method.
Any ideas?