V
V
veme3122019-04-24 03:49:59
PHP
veme312, 2019-04-24 03:49:59

How to parse a data file?

Hello, tell me, maybe you know the software or options for collecting information. In my case minecraft PHP server collects data (device). In what format should I record within php and where can I later upload this file to get a finished chart of the popularity of a particular device?
In short, an analogue of the same Yandex metric only on a small scale + ready-made data, the collection occurs by writing to a file.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene Volf, 2019-04-24
@Wolfnsex

If you are not going to "fence the garden" - then write write the data to the database, later it will be much more convenient (and faster) to work with them, including using the query (s) to calculate the number of certain devices, their percentage, etc.
You can "build a chart" quite simply using Excel (and its similarities), after unloading the available data into this format. If there is no Excel, you can upload data to "Google Doc's" or to Excel-online, as far as I remember, there were also similar functions.
PS Personally, I would write a small script (for example, in PHP) that would make several queries to the database and, based on this data, would build a chart in the form I need (using a ready-made CSS/JS library).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question