title: Align mysql results
body: <p>I'm trying to get the results of my queries to show up like this.</p>
  
  <pre><code>here  here  here
  
  here  here  here
  
  here  here  here
  </code></pre>
  
  <p>... and so forth</p>
  
  <p>But no matter what I try they end up like this..</p>
  
  <pre><code>Here
  
  Here
  
  Here
  
  Here 
  </code></pre>
  
  <p>and you get the picture... I honestly have tried everything and I can't get it to work.</p>
  
  <p>Here's the code ignore my bad coding please :/</p>
  
  <pre><code>&lt;div class="box"&gt;
  &lt;div style="width: 90%; margin: 0 auto; text-align: center;"&gt;
  &lt;div style="width: 33%; float: left;"&gt;
  
  &lt;?php
  $result = mysql_query("SELECT * FROM user_pokemon WHERE belongsto='". $_SESSION{'username'}."'AND (slot='0')");
  while($row = mysql_fetch_array($result))
  {   
  $sql2 = "SELECT * FROM pokemon WHERE name='".$row['pokemon']."'";
  $result2 = mysql_query($sql2) or die(mysql_error());
  $battle_get2 = mysql_fetch_array($result2);
  
  echo '&lt;img src="pokemon/'.$row['type'] .''.$battle_get2['pic'].'" border=0&gt;
  &lt;/a&gt;' ; 
  
  $idd= mysql_real_escape_string($row['id']);
  $iddd = strip_tags($idd);
  
  ?&gt;
  
  &lt;form name="slot1" action="" method="post"&gt;
  
      &lt;p&gt;
  
          &lt;select name="A" id="" &gt;
            &lt;option value="1"&gt;Slot 1&lt;/option&gt;
            &lt;option value="2"&gt;Slot 2&lt;/option&gt;
            &lt;option value="3"&gt;Slot 3&lt;/option&gt;
            &lt;option value="4"&gt;Slot 4&lt;/option&gt;
            &lt;option value="5"&gt;Slot 5&lt;/option&gt;
            &lt;option value="6"&gt;Slot 6&lt;/option&gt;
          &lt;/select&gt;
          &lt;input type="hidden" name="token" id="token" value="&lt;?php  echo $iddd ;  ?&gt;" /&gt;
          &lt;br /&gt;
          &lt;input type="submit" class="submit" value="Add to Team" name="slot1"&gt;
  &lt;/p&gt;
  
  
  
  &lt;/form&gt;
  
  &lt;?php
  echo $row['pokemon'];
  
  ?&gt;
  
  &lt;p&gt;&lt;/p&gt;
  
  &lt;?php
  echo "Level:";
  echo $row ['level'];
  ?&gt;
  
  &lt;p&gt;&lt;/p&gt;
  
  &lt;?php
  echo "Gender:";
  echo $row['gender'];
  echo "&lt;br /&gt;";
  }
  ?&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>And here is the css I have with it.</p>
  
  <pre><code>.box {
  width: 90%;
  background-color: #eaebd8;
  border: 1px solid #00008B;
  margin: 0 auto 10px;
  padding: 10px;
  }
  </code></pre>
  
  <p>So if I could get some help with this, I would VERY much appreciate it :)</p>