title: I want to import text file to table in mySQL and show in php
body: <p>I want to import text file to table in mySQL and show in php    </p>
  
  <pre><code>$connection = mysqli_connect("127.0.0.1", "root", "", "schedule");
      if($connection){
          $query1 = LOAD DATA LOCAL INFILE "practice.txt" INTO TABLE schedule.assigned_classes;
          $query = "SELECT * FROM schedule.assigned_classes";
  }
  </code></pre>
  
  <p>but it doesn't work. May you help me?</p>