Well thanks for the info..but it sorts it wrong sigh LOL
here take a look and you will see what I am talking about the numbers.
http://www.simleaguecentral.com/classic/test.php
it sorts is as
1
10
11
12
13
14
15
16
17
18
19
2
20 and so on and so on
this is what i used____________________________________
<?php
$sql = "SELECT round, pick, team FROM draft WHERE round = '1' ORDER BY pick ASC";
$connection = mysql_connect("localhost", "username", "password");
$db = mysql_select_db("bpuvtwqf_webcontent", $connection);
$sql_result = mysql_query($sql, $connection);
if (!$sql_result)
{
echo "There is no information or there was an error";
}
$rows=mysql_num_rows($sql_result);
mysql_close();
$i=0;
while ($i<$rows)
{
$pick=mysql_result($sql_result,$i,"pick");
$team=mysql_result($sql_result,$i,"team");
echo "<tr><td width='80' height='19'><div align='left'>$pick</div></td><td width='722' height='19'><div align='left'>$team</div></td></tr>";
++$i;
}
?>