A
A
Andrei ??????2015-06-15 02:14:53
PHP
Andrei ??????, 2015-06-15 02:14:53

How to store user data?

Hello.
Now I am developing my own WEB service.
Essence: the user enters a lot of data in the form (time, number, date, and so on) = data block. And there are a lot of such blocks. These blocks are displayed one after another.
To create a file or a table in the database for each user (there are a lot of users) = I think it's not a very good solution.
Question: With what help, and where is the best place to store this data?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Rytikov, 2015-06-15
@Baccabu

You still have to look for specific data for the specified user, which means you have to match user_id <-> data.
Make a table with 2 columns:
* user_id key
* data (BLOB, compressed text)

A
Andrei ??????, 2015-06-17
@Baccabu

Thank you all for the answers!) I
understand everything ,
I will do 2 tables
1st users
2nd with data

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question