+ 3
How to fetch all data from firebase
I connected firebase database with my code and tried to fetch data. But it only fetches the last data. https://code.sololearn.com/W34nA0AkFRUX/?ref=app Here, it only fetches the last name and email id. But I want to fetch all names and email ids and write these in innerHTML like Name 1 Email 1 Name2 Email 2 Name3 Email 3 How can I do that ?đ˘
2 Answers
+ 2
đ#H P 22â˘đ
How ?
I have 18+ emails and names in my db. But it only shows the last one in innerHTML. (Although all are shown in console)