Update database.php
Update database.php

checking if the assoc array REALLY needs to rotate by checking if the first elem `(reset returns the first elem` is an array or not. see test for exemple
LeclercA/MySQL-DataBaseWrapper