push($separated); } //Start working our way through all of the moons //and saving the data to the database foreach($moons as $moon) { if($moon[0] != null) { //Test print printf($moon[0] . "\r\n"); } } dd(); } }