Почему меняется структура HTML-страницы, после чего я пытаюсь отобразить некоторые таблицы из БД с PHP? - PullRequest
0 голосов
/ 04 декабря 2018

По умолчанию у меня есть структура HTML-страницы, которая разделена на 2 части, 1-ю с содержанием и 2-ую содержит нижний колонтитул:

<html>
   <head> 
     .... 
   </head>
   <body>
      <div class="content">

          <!-- Here is a form what help user to search some table from DB -->
          <?php include_once "search\search_form.php" ?>

          <!-- This div is the place where will be print the table -->
             <div class='right-side'>
                <!-- Here I print the searched table from DB -->
                <?php include_once "search\search_on.php" ?>
             </div>

      </div>
      <footer>
          ....
      </footer>
   </body>
</html>

После того, как таблица показана, я автоматически получаю такую ​​структуру:

<html>
   <head> 
     .... 
   </head>
   <body>
      <div class="content">

          <!-- Here is a form what help user to search some table from DB -->
          <?php include_once "search\search_form.php" ?>

          <!-- This div is the place where will be print the table -->
             <div class='right-side'>

                <footer>
                   ....
                </footer>

                <!-- Here I print the searched table from DB -->
                <table>
                   .....
                </table>
             </div>

      </div>
   </body>
</html>

Если вы видите, нижний колонтитул переместился в DIV, где class = "right-side" ПОЧЕМУ ???

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...