<?php <table cellpadding=\"0\" cellspacing=\"0\" border=\"1\"> $getstuff = $DB_site->query("SELECT item1,item2 FROM table ORDER BY item1"); while($lala = $DB_site->fetch_array($getbattles)) { <tr> <td>$lala[item1]</td> <td>$lala[item2]</td> </tr> } </table> ?>