add sql in the array of the function dbmng_query2array