How to send a form in parts? [closed]

1

I am creating a web page, I have 1 form divided into 4 tabs my question is how I can send to the BD every part of the data, it is a single table the whole form, they are asking me to be able to save the form for example the tab one and then you can answer the 2 and so on, but I want to know how to send it to the DB since an insert of 25% of the data does not work Would you make an insert with the data in white and go making update of each part of the form? THANK YOU VERY MUCH

    
asked by Israel Gutierrez 29.03.2017 в 03:08
source

1 answer

0

You can save the data of each form in a session variable and when the user finishes filling the data, make an insert with all the data together. Something like that

<?php

  session_start();

  $_SESSION['form1'] = array(
    'nombre' = $_GET['nombre'],
    'edad' = $_GET['edad']
  )
<?
    
answered by 29.03.2017 в 03:30