I am using MYSQLI query to extract data into an array. But when printing the array content, it looks that data is being populated into sub array. This is my code: