So Basically i have a form with this layout
Let me explain the layout first , when ever the user presses the + another row gets added inside the form and vice versa to the -. After filling out the text fields whenever the user presses the add button the values entered within the table must be inserted inside the table, and for this i redirected the form to the php page using get method and lets say the url somewhat looks like
host.com/index.html?id=1&name=n1&age=12&location=location1&id=2&name=n2&age=14&location=location2
i can segregate the values in the php file using this
$_GET['id']; and so on...
and now the problem that i'm facing is i can get the values only once, say i can get only the values for the elements in the id 1. what i want is , i wanna insert the 2 rows in a single query and i'm not able to get multiple row values via the method i use