Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

118
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda