RE: [PHP-DB] how do I use same page for submit and results?

2003-02-06 Thread Luke Woollard
essage- From: Joshua Stein [mailto:[EMAIL PROTECTED]] Sent: Friday, 7 February 2003 5:29 AM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] how do I use same page for submit and results? > But now I'm not using anything that I can check except for the > button click. Any ideas how to do

Re: [PHP-DB] how do I use same page for submit and results?

2003-02-06 Thread Joshua Stein
> But now I'm not using anything that I can check except for the > button click. Any ideas how to do this? assign a name to the button and check for that. ... if ($_REQUEST["action"] == "Show List") { /* form was submitted */ ... } else { /* form hasn't been submitted, show it */ .

[PHP-DB] how do I use same page for submit and results?

2003-02-06 Thread John A DAVIS
On my choices page, there are only 3 radio buttons and a Submit button. The page calls itself and runs a query on the database, displaying results. But the criteria buttons are still at the top of the page above the results. Before, I had a combo box for certain choices and I just did an "If (!$