I have created this table with a sql query that looks like this
$result = mysql_query("SELECT * FROM 5050goosedown");
echo "<table border='0' width='975'>
<tr>
<th width='12.5%'>name:</th>
<th width='12.5%'>width:</th>
<th width='12.5%'>height:</th>
<th width='12.5%'>fill:</th>
<th width='12.5%'>our fill:</th>
<th width='12.5%'>old price:</th>
<th width='12.5%'>price:</th>
</tr>";
$i = 1;
while($row = mysql_fetch_array($result)){
echo "<tr bgcolor='#F5F5F5'>";
if($i%2 == 0){
echo "<tr bgcolor='#E5E5E5'>";
}
$i++;
echo "<td>" . $row['name'] . "</td>";
echo "<td>" . $row['width'] . "</td>";
echo "<td>" . $row['height'] . "</td>";
echo "<td>" . $row['normal_fill'] . "</td>";
echo "<td>" . $row['our_fill'] . "</td>";
echo "<td>" . $row['old_price'] . "</td>";
echo "<td>" . $row['price'] . "</td>";
echo '<td bgcolor=#FFFFFF><form method="post" action=""><input type="hidden" name="goosedown_id" value="'.$row['goosedown_id'].'" /><input type="submit" name="sumbit" value="Delete" /></form></td>';
echo "</tr>";
}
echo "</table>";
?>
I was wondering what would be the best way to go about displaying the items in the table in a specific order because at the moment is is displaying in alphabetical order. However, I would like it to display in a order of size, i.e., single, super single, queen, king, super king…
I just dont know how to attempt this. Do you think maybe I need another entry in the database?
this is what the table looks like.. as you can see there is a section where people can enter their own values

mysql
CREATE TABLE `5050goosedown` (
`goosedown_id` int(11) unsigned NOT NULL auto_increment,
`name` varchar(100) NOT NULL default '',
`width` int(8),
`height` int(8),
`normal_fill` int(8),
`our_fill` int(8),
`old_price` DECIMAL(3,2),
`price` DECIMAL(3,2),
PRIMARY KEY (`goosedown_id`)
) TYPE=MyISAM;
ORDER BY widthbe good enough for that? You don't actually explain what the fields mean, so we can't tell you what fields you do or don't need, can or can't use.