Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

116
Views
getting values of input fields within a div in php

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?

about 4 years ago · Santiago Gelvez
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!