title: PHP/HTML - Table width
body: <p>I am doing a webpage using HTML and PHP. Below, I attach a picture of my problem.</p>
  
  <p><img src="https://i.stack.imgur.com/Aoc2w.png" alt="enter image description here"></p>
  
  <p>My first problem is that I cannot give the format I want to the table:</p>
  
  <ul>
  <li>I'd like to adjust to the content columns 1, 2, 3 and 4.</li>
  <li>Column 5 (last column) should have the more space the better.</li>
  <li>The <code>aaaaaaaaaaaaaaaa</code> of the last column should not go beyond the table. It should be split up or with a line break when reach the column end.</li>
  </ul>
  
  <p>Here a piece of my code:</p>
  
  <pre><code>echo "&lt;table&gt;&lt;tr&gt;";
  echo '&lt;td width="40"&gt;ID&lt;/th&gt;';
  echo '&lt;td width="50"&gt;Organism&lt;/th&gt;';
  echo '&lt;td width="50"&gt;Chromosome&lt;/th&gt;';
  echo '&lt;td width="50"&gt;Gene name&lt;/th&gt;';
  echo '&lt;td&gt;Sequence&lt;/th&gt;';
  echo "&lt;/tr&gt;";
  while($row = mysqli_fetch_array($result2)) { 
      echo "&lt;tr&gt;";
      echo "&lt;td&gt;$row[id_send]&lt;/td&gt;";
      echo "&lt;td&gt;$row[organism]&lt;/td&gt;";
      echo "&lt;td&gt;$row[chromosome]&lt;/td&gt;";
      echo "&lt;td&gt;$row[gene]&lt;br&gt;&lt;/td&gt;";
      echo "&lt;td&gt;$row[sequence]&lt;/td&gt;";
      echo "&lt;/tr&gt;";
  }
  echo "&lt;/table&gt;";
  </code></pre>