title: Mysql fetch array, table results
body: <p>i'm pretty new to this and not sure how should i do it,</p>
  
  <p>I've got a database with a column called "names"</p>
  
  <p>how can i make it display in so?</p>
  
  <pre><code>  &lt;tr&gt;
    &lt;td width="270px"&gt;Henry&lt;/td&gt;
    &lt;td width="270px"&gt;Jeffrey&lt;/td&gt;
    &lt;td width="270px"&gt;Hansel&lt;/td&gt;
    &lt;/tr&gt;
  
    &lt;tr&gt;
    &lt;td width="270px"&gt;Michelle&lt;/td&gt;
    &lt;td width="270px"&gt;Jackson&lt;/td&gt;
    &lt;td width="270px"&gt;Ivan&lt;/td&gt;
    &lt;/tr&gt;
  </code></pre>
  
  <p>I only know how i should do it if the records goes one after another vertically.</p>
  
  <pre><code>  $result = mysql_query('SELECT * FROM member');
  
    while($row = mysql_fetch_array($result))
    {
    echo'
    &lt;tr&gt;
    &lt;td width="270px"&gt;'.$row['names'].'&lt;/td&gt;
    &lt;td width="270px"&gt;Jeffrey&lt;/td&gt;
    &lt;td width="270px"&gt;Hansel&lt;/td&gt;
    &lt;/tr&gt;';
  </code></pre>
  
  <p>Kinda stucked here...</p>
  
  <p>Sorry i forgot to put this.</p>
  
  <p>what i want is that it should loop the  tags along. So i can have a 3 column table with infinite rows.</p>
  
  <p>what bout this one? What if i want this to loop instead?</p>
  
  <pre><code>&lt;tr&gt;
  &lt;td&gt;&lt;img src="images/ava/A.png" /&gt;&lt;/td&gt;
  &lt;td&gt;A&lt;/td&gt;
  &lt;td width="2px" rowspan="3"&gt;&lt;/td&gt;
  &lt;td&gt;&lt;img src="images/ava/B.png" /&gt;&lt;/td&gt;
  &lt;td&gt;B&lt;/td&gt;
  &lt;/tr&gt;
  
  
  &lt;tr&gt;
  &lt;td&gt;A&lt;/td&gt;
  &lt;td&gt;B&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>