D
D
Danil Razumkov2018-02-25 14:24:03
PHP
Danil Razumkov, 2018-02-25 14:24:03

What is the right way to handle this?

Good afternoon. I've been scratching my head for an hour now on how to do this. The server receives a request of the following form:
5a929c21bca1c995810362.png
how can I process it, or rather, extract the data. I understand the beginning of the code how to do it, it will be $_POST['data'][] but then ??? I don’t know the numbers after data, and it can be from 1 to n, so it’s not an option to go through in a loop. What to do?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
index0h, 2018-02-25
@razumkov2015

I don’t know the numbers after data, and it can be from 1 to n, so it’s not an option to go through in a loop.

foreach

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question