I have a form with multiple textboxes with the same names. I want to get the data from all the textboxes in my PHP code.
Here is my code.
Email 1:<input name="email" type="text"/><br/>
Email 2:<input name="email" type="text"/><br/>
Email 3:<input name="email" type="text"/><br/>
$email = $_POST['email'];
echo $email;
I wanted to have a result like this:
Instead I only get the text from the last textbox.