MySQL Forums
Forum List  »  PHP

how to pass variable?
Posted by: Lori Johnson
Date: July 05, 2005 05:44PM

Hello,
I am new to MySQL and PHP, and I am having problems passing a variable from one page to another. The database has many fields, so to prevent the user from constantly scrolling down the page, I would like to have several php pages containing insert forms. So, after the user fills in the form for these fields on the first page and clicks "Submit":

Project JobNumber
Project Name
Description
Lane Miles
(etc.)

the go-to-after-submitting-page would display a dynamic table with the Project JobNumber (ex: 3021) just entered on the previous page. Also, I need this Project JobNumber (passed from the previous page) to be inserted into another table (relevant to the fields on the second page).

Any suggestions on how to pass the Project JobNumber from one page to a second page, and then insert that value into another table?

Thanks in advance for any suggestions.

Lori

Options: ReplyQuote


Subject
Written By
Posted
how to pass variable?
July 05, 2005 05:44PM
July 06, 2005 05:30AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.