Re: I need some php help...and then some
| From: | Jeff Gannaway | Date: | Thu, 22 Jun 2000 21:02:25 +0000 |
| Subject: | Re: I need some php help...and then some | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-2729@lists.php.net to get a copy of this message | ||
At 08:39 PM 6/22/00 +0000, Jeff Gannaway wrote:
>SECOND (AND ONLY SLIGHTLY MORE TROUBLESOME) IDEA:
>
>If the customer needs to see and/or edit any of the product info, then you
>do have to get it into the form. If I didn't have to do the cool
>JavaScript dynamic form stuff, I would make the form a 2-parter. Part one
>would ask for the ProductID. When they clicked the SUBMIT button, they
>would go to a PHP scrip that would look up the product info in the MySQL
>database, assign the values to variables, then populate the form with those
>values. This script would then take them to the final step which would
>e-mail all the info.
Just had another idea to make this second method appear more dynamic. Use
frames (ewwww... I cna't believe I said that). Anyway, set the top frame
with the first script (the one that asks for the ProductID) and have the
second script (the one that shows all the other fields populated with the
database values) in the other frame.
-Jeff