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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T08:54:33+00:00 2026-05-26T08:54:33+00:00

I have a number of different php-forms(25) that will handle some information. Instead of

  • 0

I have a number of different php-forms(25) that will handle some information. Instead of creating a different page for each of those forms, is it possible to be able to load a different form on the page just by selecting something from a list or hyper-link?

For example:

If I want to use form A then I click the link or button for form A, which then appears on the page when it reloads.

Let me know if you need me to explain it to you better lol.

I want it to work the same way that this website does, you click the hyperlink and a different form appears.

  • 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-26T08:54:33+00:00Added an answer on May 26, 2026 at 8:54 am

    you can have the links that you click to select forms have GET variables attached to them, so that when the page reloads, you can use those variables to determine which form to show.
    e.g.:

    <a href="thispage.php?form=a">form a</a>
    <a href="thispage.php?form=b">form b</a>
    <a href="thispage.php?form=c">form c</a>
    
    <?
    switch ($_GET['form'])
    {
        case 'a':
            ?>
            <form method="POST" action="thispage.php">
                <!-- form a elements here :) -->
            </form>
            <?
            break;
        case 'b': // show form b
            ?>
            <form method="POST" action="thispage.php">
                <!-- form b elements here :) -->
            </form>
            <?
            break;
        case 'c': // show form c
            ?>
            <form method="POST" action="thispage.php">
                <!-- form c elements here :) -->
            </form>
            <?
            break;
    }
    ?>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have ten buttons that each correspond to a different number. I'm looking to
I have a number of different data sources that I need to query and
We have a number of servers running various different LAMP setups. One thing that
I have a Django form that uses a different number of fields based on
I have a product catalog. Each category consists of different number (in deep) of
I have a phone number field that can have lots of different characters such
I have a number of url's with different query strings such as view.php?id=5 view.php?id=6
I have a PHP/MySQL sign-up system that limits the number of people who can
I have a project with a number of different classes querying and modifying data
We have a large number of programmers on different platforms all using CVS. We

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.