Ask Google for "html tables" and you'll learn how to build tables in html.
Ask Google for "php format number" and you'll learn how to format number in php (that's easy one as there is a function called [man]number_format[/man]).
As for your code. Outputting records to your form is handled here (comments to help you understan what's going on):
while ($row = mysql_fetch_array($result))//fetch one row from the result into an associative array (like $row['name'] = "Driver Name")
{
extract($row);//each key of array $row is transformed into independent varible, like $name = "Driver Name"
echo "<input type='checkbox' name='driver'value='$drid'>$name $salary"; //send to browser html which will render checkbox, driver name and his salary from the record in the database
echo "<br>\n";//line break in html and in source code of the page
}
And how to change it:
//hint: echo table header here
while ($row = mysql_fetch_array($result))
{
extract($row);
//hint: format your number here
echo "<input type='checkbox' name='driver'value='$drid'>$name $salary";//another hint: change this line to reflect table structure (one row)
echo "<br>\n";//hint: you won't need this
}
//yet another hint: echo table footer here