Transfer user data from one page to another

mluci12
Posts: 39

Transfer user data from one page to another

Hello!
I have page: autobelgia.ro/submit1.html from to: autobelgia.ro/submit5.html from autobelgia.ro/submit1.html to submit5.html user complete with his details.
How can i transfer details from first page to last. I don't like url trasfer because exists more details.

Admin
Hello,
If the second page is just a simple html document (without php code), to keep data from one page to another html page you can use JavaScript to keep data in Cookies or localStorage (or sessionStorage).
If data is sent to a server script, you can use a <form> with method="post" to send form data to server (see this tutorial: http://coursesweb.net/php-mysql/using-html-forms ), than, in php you can store $_POST data in $_SESSION if you want to use it in a 3rd php page.

Adv. Posts: 01

Similar Topics