I am new to PHP and I couldn't find something I need. So my problem is that I have 4 inputs in HTML with the same name and I want to make an array with them in PHP. Is there any way to do this? View a picture below: Photo of 4 inputs
So these 4 inputs have same name and I want to get information which user typed in and insert it into HTML page, Please answer my question or recommend a better way to do this!
Here is my code:
<input class="inputText" type = "text" class="form-control" placeholder="Some text here"/>
<input class="inputText" type = "text" class="form-control" placeholder="Some text here"/>
<input class="inputText" type = "text" class="form-control" placeholder="Some text here"/>
<input class="inputText" type = "text" class="form-control" placeholder="Some text here"/>