<?php include_once "./config/autoload.php"; include_once "delete_content.php"; $GBinfo = new Guestbook(); ////создаем объект класса что-бы обратиться г его методу $gbook_all = $GBinfo->select(); //вызываем метод класса который выводит все коментарии пользывателей ($gbook_all через цикл выводим в нужном блоке отзывов клиентов например) ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>тест</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" integrity="sha512-dTfge/zgoMYpP7QbHy4gWMEGsbsdZeCXz7irItjcC3sPUFtf0kuFbDz/ixG7ArTxmDjLXDmezHubeNikyKGVyQ==" crossorigin="anonymous"> <link href="css/main.css" rel="stylesheet"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"--></script> <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js" integrity="sha512-K1qjQ+NcF2TYO/eI3M6v8EiNYZfA95pQumfvcVrTHtwQVDG+aHRqLi/ETn2uB+1JqwYqVG3LIvdm9lj6imS/pQ==" crossorigin="anonymous"></script> <script src="js/scripts_v1.js"></script> </head> <body> <div class="row"> <form style="width: 50%;left:50%;margin-left: 25%" class="form-horizontal" method="post" action="libs.php"> <div class="form-group"> <label for="inputPassword3" class="col-sm-2 control-label">Name</label> <div class="col-sm-10"> <input type="text" name="name" class="form-control" id="inputPassword3" placeholder="Name"> </div>