title: Putting the <tr> data into the table with only one header
body: <p>I made the changes and now they are in the same table but not under the correct column and the address is not completely rendering.  It appears to only be taking the first word which is numbers and leaving off the rest. </p>
  
  <p><a href="https://i.stack.imgur.com/PQ6I4.png" rel="nofollow noreferrer">enter image description here</a>It</p>
  
  <pre><code>    $header = false;
  
      $result = mysqli_query($db, "CALL Webc") or die("Query fail: " . mysqli_error());
  
  
    while ($row = mysqli_fetch_assoc($result)){
      if ($header == false ) {
        echo "&lt;table border=1&gt;
              &lt;th&gt;Customer ID&lt;/th&gt;
              &lt;th&gt;Active&lt;/th&gt;
              &lt;th&gt;TDate&lt;/th&gt;
              &lt;th&gt;Student Type&lt;/th&gt;
              &lt;th&gt;First Name&lt;/th&gt;
              &lt;th&gt;Last Name&lt;/th&gt;
              &lt;th&gt;Address&lt;/th&gt;
              &lt;th&gt;City&lt;/th&gt;
              &lt;th&gt;State&lt;/th&gt;
              &lt;th&gt;Zip&lt;/th&gt;
              &lt;th&gt;UserName&lt;/th&gt;
              &lt;th&gt;Email&lt;/th&gt;
              &lt;th&gt;Password&lt;/th&gt;";
  
  
          $header = true;
    }
    echo "&lt;form action=update_students.php method=post&gt;";
  
     echo "&lt;tr&gt;&lt;td&gt;" . "&lt;input type=text name=CustomerID value=" .$row["CustomerID"].   "  &lt;/td&gt;&lt;/tr&gt;";
     echo "&lt;tr&gt;&lt;td&gt;" . "&lt;input type=text name=active  value=" .$row["active"].   " &lt;/td&gt;&lt;/tr&gt;";
     echo "&lt;tr&gt;&lt;td&gt;" . "&lt;input type=text name=TDate  value=" .$row["TDate"].   "  &lt;/td&gt;&lt;/tr&gt;";
     echo "&lt;tr&gt;&lt;td&gt;" . "&lt;input type=text name=StudentType value=" .$row["StudentType"].  "  &lt;/td&gt;&lt;/tr&gt;";
     echo "&lt;tr&gt;&lt;td&gt;" . "&lt;input type=text name=FirstName  value=" .$row["FirstName"].  "   &lt;/td&gt;&lt;/tr&gt;";
     echo "&lt;tr&gt;&lt;td&gt;" . "&lt;input type=text name=LastName  value=" .$row["LastName"].  " &lt;/td&gt;&lt;/tr&gt;";
     echo "&lt;tr&gt;&lt;td&gt;" . "&lt;input type=text name=Address  value=" .$row["Address"].  " &lt;/td&gt;&lt;/tr&gt;";
     echo "&lt;tr&gt;&lt;td&gt;" . "&lt;input type=text name=City  value=" .$row["City"].  " &lt;/td&gt;&lt;/tr&gt;";
     echo "&lt;tr&gt;&lt;td&gt;" . "&lt;input type=text name=State value=" .$row["State"].  " &lt;/td&gt;&lt;/tr&gt;";
     echo "&lt;tr&gt;&lt;td&gt;" . "&lt;input type=text name=Zip  value=" .$row["Zip"].  " &lt;/td&gt;&lt;/tr&gt;";
     echo "&lt;tr&gt;&lt;td&gt;" . "&lt;input type=text name=Email value=" .$row["Email"].  " &lt;/td&gt;&lt;/tr&gt;";
  
  
  
         echo "&lt;td&gt;".  "&lt;input type=submit name=update value=update&gt;".   "&lt;/td&gt;";
      echo "&lt;td&gt;".  "&lt;input type=submit name=delete value=delete&gt;".   "&lt;/td&gt;";
  
  
  
          echo '&lt;br /&gt;';
       echo "&lt;/form&gt;";
    }
  </code></pre>