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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:07:03+00:00 2026-05-27T18:07:03+00:00

I wonder whether someone could help me please. I’ve been looking through this, and

  • 0

I wonder whether someone could help me please.

I’ve been looking through this, and many other sites and tutorials to find out how to add a button to a form which opens a PHP file, in this case, a pop up form that allows a user to upload a file to a mySQL database.

In addition to the opening of the file, I’d like to carry over the ‘id’ field value from the main form to the pop ‘File Upload’ form.

From the research I’ve carried out there seems to be a number of ways to do this, but from a beginners perspective I’m not sure what is the best way to do this.

Could someone perhaps please advise on what is the best way to go about this.

Many thanks and kind regards

  • 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-27T18:07:04+00:00Added an answer on May 27, 2026 at 6:07 pm

    To pass values between pages:

    Main form:

    <form action="myuploadform.php" method="get">
    ID: <input type="text" name="id">
    <input type="submit" value="Open Form">
    </form>
    

    The value of the ID text box will be accessible as $_GET['id'] in myuploadform.php.

    Using GET parameters is the simplest way of passing values. Another way to pass in this GET value would be in the URL:

    .../myuploadform.php?id=35 where the ID then becomes 35.

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

Sidebar

Related Questions

I wonder whether someone could help me please. Through the use of some online
I wonder whether someone could help me please. I've been trying to find a
I wonder whether someone could help me please. I've been working on, and I've
I wonder whether someone can help me please. I've put together this page, which
I wonder whether someone may be able to help me please. I've been working
I wonder whether someone could help me please. I have to admit I'm relatively
I wonder whether someone could please help me. I'm trying to incorporate an 'filesize'
I wonder whether someone could help me please. I've really got myself in a
I wonder whether someone could help me please. I have put together a form
I wonder whether someone could help me please. I'm put together the following form

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.