$_POST['text'];
                  
                  
                     
                  
                  
                     $nameErr = "";
                  
                  
                     
                  
                  
                     $con=mysqli_connect ("localhost", 'root', '','demo');
                  
                  
                      if (!$con) {
                  
                  
                          die('Not connected : ' . mysqli_connect_error());
                  
                  
                      }
                  
                  
                      
                  
                  
                      
                  
                  
                      if ($_SERVER["REQUEST_METHOD"] == "POST") {
                  
                  
                        if (empty($_POST['text'])) {
                  
                  
                                $nameErr = "Please feel the form";
                  
                  
                        } else {
                  
                  
                      $test = htmlspecialchars($_POST['text']);
                  
                  
                      echo $test;
                  
                  
                        }
                  
                  
                      }
                  
                  
                     ?>
                  
                  
                
Читай описание чата, тебе сюда @phpGeeksJunior
Please feel the form - пожалуйста прочувствуй форму)
Обсуждают сегодня