newbie question
| From: | Kenn Murrah | Date: | Tue, 23 May 2000 15:28:17 +0000 |
| Subject: | newbie question | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-362@lists.php.net to get a copy of this message | ||
Pardon the elementary nature of this question, but here'
what I'm trying to do:
I want to use a form to look up customer number and add
a job number, then in the next script to retain the customer
number and job number so that they do not have to be
re-typed on the subsequent script -- sort of cascading of
variables....
In a highly simplified form, here's what I tried and failed with --
can anyone tell me how to get the $customer_code and
$job_number transferred to the final script, test3.php ???
Thanks in advance,
Kenn Murrah
TEST1.PHP
<html>
<head>
<title>
Job Entry</title></head>
<body>CSR Order Entry Test<p>
<html> <body> <form action="test2.php" method=GET>
Job Number: <input type=text name=job_number size = 6 maxlength=6><p>
Customer Code: <input type=text name=customer_code size=4 maxlength=4> <p>
<input type=submit> </form> </body> </html>
TEST2.PHP
<html>
<head>
<title>
Job Entry2</title></head>
<body>CSR Order Entry Test<p>
<body> <form action="test3.php" method=GET>
<?php print $job_number print $customer_code ?>
<input type=submit> </form> </body> </html>
TEST3.PHP
<html>
<head>
<title>
Job Entry3
</title></head>
<body>CSR Order Entry Test<p>
<body>
<?php print $job_number $customer_code ?>
</form> </body> </html>