title: Display grid style
body: <p>i have a select query on may database</p>
  
  <pre><code>while($row=mysql_fetch_assoc(mysql_query("select * from items"))){
  //here
  }
  </code></pre>
  
  <p>i want it to display a grid style, and im using the</p>
  
  <pre><code>while($row=mysql_fetch_assoc(mysql_query("select * from "))){
  ?&gt;
  &lt;tr&gt;
  &lt;td&gt;&lt;img src="&lt;?php echo $row['path']?&gt;"&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
  &lt;td&gt;&lt;?php echo $row['name'] ?&gt;&lt;/td&gt;
  &lt;/tr&gt;
  &lt;?php
  }
  </code></pre>
  
  <p>but it will display a vertical style, what html tag will i use, i also use the <code>&lt;span&gt;</code> but i cant display it correctly</p>