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 3233258
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T17:15:23+00:00 2026-05-17T17:15:23+00:00

OK that probably sounded a bit confusing but what I have is a table

  • 0

OK that probably sounded a bit confusing but what I have is a table that spits out courses locations and dates depending on what the user chooses. I than want the user to go through the fields and than on the 3rd submit button I have the course information displayed to them. I’m asking how in php i can take the echo from the first query and use that to upload it to the other table. Would I just be using MySQL Links?

  • 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-05-17T17:15:23+00:00Added an answer on May 17, 2026 at 5:15 pm

    If you have multiple pages, you can use $_SESSION variables to store the data for when you’re ready for it.

    If you have one page, with multiple forms, you can use <input type='hidden' /> fields to hold the data until you’re ready for it (it will be stored in $_POST each time you submit the form).

    Then, when you’re ready, pull the info out of the $_SESSION or $_POST data and run your query.

    For the $_POST solution:

    <form action='' method='post' >
      <input type='hidden' name='data1' 
        value="<? if(isset($_POST['data1'])) { echo $_POST['data1']; } ?>"
      <input type='hidden' name='data2' 
        value="<? if(isset($_POST['data2'])) { echo $_POST['data2']; } ?>"
      <input type='hidden' name='data3' 
        value="<? if(isset($_POST['data3'])) { echo $_POST['data3']; } ?>"
    </form>
    
    <?
    if(isset($_POST['data1'] && isset($_POST['data2'] && isset($_POST['data3']) {
      //Run your query, echo results
    }
    ?>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some very rusty C++ and lots of C experience, but have done
This is a very simple question, but after a few hours surfing the web
I hope some one more SQL wise can help me. Suppose the following table
An unusual one this, and a toughie to explain eloquently! I'm trying to force
I'm looking to understand why Java designers chose to implement function declarations this way.
I am problem scheduling and running a script through cron job. I am on
In C# you can put files in folders corresponding to their namespaces and view
Is there a way to select an element in css based on element text?
I'm not sure I'm doing this the right way, so I'm open to other
I'm working on relative layout. Basically i would like to put my ticker(lnrTicker) 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.