+ 1

How do I count input from users and display

I'm trying to create a voting app buh can't seem to figure out how to gather the input data for final results. Any help/advice

23rd Sep 2022, 8:42 PM
Evans Frimpong
Evans Frimpong - avatar
5 odpowiedzi
0
Let's see your code
23rd Sep 2022, 8:43 PM
Slick
Slick - avatar
0
Slick do you mean the backend?
23rd Sep 2022, 10:57 PM
Evans Frimpong
Evans Frimpong - avatar
0
U need a persistent layer. A file or sql table.
24th Sep 2022, 3:58 AM
Oma Falk
Oma Falk - avatar
0
I guess you would be asking for something to store the user and their voting data. As a simple answer, you will need a database connection (any relational database) or a file where you will be storing data in a format that is easy to retrieve(CSV can be a good choice)
24th Sep 2022, 7:05 AM
_rk
_rk - avatar
0
_rk do you know how that is done
24th Sep 2022, 9:51 AM
Evans Frimpong
Evans Frimpong - avatar