display array from db fetched record