Hello dear PHP experts, tell me, I encountered such a problem, there is a form for sending data, it has hidden input, these hidden inpits (you can name, you can set the name of the picture, I need to collect them into an array , thank you in advance

    1 answer 1

    <input name='img[]' value='name1' /> <input name='img[]' value='name2' /> <input name='img[]' value='name3' /> 

    After sending to the server the names will come in the form of an array.

    • one
      The name of the pictures in the array img put? And how to write a handler to collect them - Kirill
    • one
      @Kirill in value, then look in $ _REQUEST ['img'] - Ordman