I have managed to solve the issue. Since I don't have much control over remote server, I had to split the table into five different tables so as to reduce the number of columns in each table.
Now I have another issue.
On updating the page, the file name is not saved if new new file is not selected.
Pic 1 (1170px x 500px) <input name="pic1" type="file" value="<?php echo($tour->getColumnVal("pic1")); ?>"><br>
<img src="../file/<?php echo($tour->getColumnVal("pic1")); ?>" width="100" height=""> </div>