row colors for the table

This commit is contained in:
2019-02-23 22:55:13 -06:00
parent f455c9a6a4
commit 814b2462cb
3 changed files with 50 additions and 22 deletions

View File

@@ -36,7 +36,7 @@ class MoonsController extends Controller
//get all of the moons from the database
$moons = DB::table('Moons')->orderBy('System', 'asc')->get();
//declare the html variable and set it to null
$html = '';
$table = array();
$moonprice = null;
foreach($moons as $moon) {