I need to fill php array from mysql database, this array has key and value, then i need to read the array in javascript code
below how i fill the array from database;