I have an add button that when a user clicks on a div with two input fields (Name and About) will appear. The user can have a total of 3 divs and each div has a unique id (person_1, person_2, person_3). When i am saving this data i am saving as a key value pair so for example:
my key would be person_1 and values would be name: john smith, about: all about john smith...
key column = person_1 and value column = [{"name":"john smith", "about":"all about john smith..."}]
How can i target to get the input fields for each person (up to three) do i get the values based on div id?
Also i noticed a lot of javascript to handle this and i was wondering if there is a way to do it with php?