How to get all data from database?

Probably a stupid question, but
I have a sample of the database
$query = "SELECT * FROM `oc_product` WHERE `color_1` = '000000'";
 $results = $mysqli->query($query);
 $results = $results->fetch_array();

My problem is that in a variable I get only 1 result of how to get there without trying the bypass cycle?
March 12th 20 at 08:10
1 answer
March 12th 20 at 08:12
Thank you very much, nuzzled)) - raul commented on March 12th 20 at 08:15

Find more questions by tags MySQLPHP