Mysql – PHP: How to convert multicolumn sql query result into array
I've got sql database table which looks like this: login time_start name1 17:30:00 name2 18:15:00 name3 16:30:00 name2 17:30:00 And i want to convert it into array with hour as id associated with all logins coresponding to that hour: Array…