fetch data from mysql and store in array php