A
A
Andrey Angelovich Stock2018-03-30 14:30:54
PHP
Andrey Angelovich Stock, 2018-03-30 14:30:54

How to label values ​​in PHP array?

Hey! There is an array of URLs, which is assembled from smaller arrays. If the links are the same, then they are shown as one link, i.e. not duplicated This array is entered into a table, where the user assigns his characteristics to each URL. In fact, it looks like a table in the left column of which is the URL, and in the following select, the value of which is selected by the user. After all the manipulations, a graph is built based on the user's choice. the question is how to determine which URL belongs to which array (which is smaller)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sanovskiy, 2018-03-30
@Sanovskiy

Leave IDs. And make indexes in arrays as IDs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question