Reading data From firebase

Hi all,
I’m using this code to store data in firebase db

image

it results like this in the db

image

But I’m facing some difficulty to retrieve that data and put it in lables?

how can I do that?

I want to view them in this layout

image

Hi,
try something like this:

…to get the data:
1
The “?” would be one of 111, 222 or 333 in your case.

…if you got the data:
2

And a tipp:
It’s even possible to store lists in Firebase. Than you would need only one tag for the three items.

1 Like

Thankful for your help.

About the lists, I prefer to use the above way to read data because I will inject data to database from JASON file , and I think it much easeier when try to update values in the database.

1 Like

Now I injected new data to my db from json file converted from csv

image

But the code Resulting No Data

The blocks is like this

![2|346x500]

I found something ,
when i’m using special codes like ( 3FRTG+TV) for the tags there is no Data but if I use just letters like aaa, bbb … for the tags it works , what do you think the problem is??

I found the problem

Tags Should not have special characters, i Just Delete the + its Worked
But I’m Facing another problem
For each tag I got the app reads only the first word in the value, any thing after the space is not showed

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.