> 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.

<input type="submit" name="action" value="Show List">


if ($_REQUEST["action"] == "Show List") {
   /* form was submitted */
} else {
   /* form hasn't been submitted, show it */


PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to