Hi Dear,
First try on yourself......
Create your required field with the help of table tag and echo the records from database in respective
<table><tbody><tr><td>?<?php echo "your records here"; ??></td></tr></tbody></table>
tag and and if you want to color records or background the put your condition before echo that records.