Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7779021
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T18:32:43+00:00 2026-06-01T18:32:43+00:00

I am preparing a webpage that contains several forms, each one has the usual

  • 0

I am preparing a webpage that contains several forms, each one has the usual input text and submit button which calls a php script. The thing I don’t like much is that whenever I press one of the submit button the others input text are reset. I am wondering if there is a way to keep the value of the input texts the one I have entered even if I’ll press a submit button..
thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T18:32:44+00:00Added an answer on June 1, 2026 at 6:32 pm

    The simplest solution is that you can store data into $_SESSION … like :

    $_SESSION[‘forms_data’][‘firts_form_name’] = array(
    ‘field1’ => $_REQUEST[‘field1’],
    ‘field2’ => $_REQUEST[‘field2’]
    ….
    );
    and for others the same principle.

    then you can retrieve them again from the $_SESSION arr,

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I preparing a images gallery,I want to ZoomIn and ZoomOut of images which are
I am preparing to start on a new short-term contract (1-2 months) that involves
I am preparing for my interview and came across this question: Consider that i
I am preparing an Excel sheet in which I have to maintain the version
Im preparing API methods for one of the system. Api will be available for
Just preparing myself for a task that i feel could be quite troublesome, and
I am preparing a small C++ dll in which the functions are to be
I'm preparing a presentation about JavaScript in different browsers. I know that there are
I am preparing a web page with more data that can possibly be shown
I am preparing a Blackberry app in which I prepare an HTTP connection and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.