RE: [PHP] Connecting Form result to PHP query?
| From: | Rick Emery | Date: | Thu, 14 Mar 2002 14:10:05 +0000 |
| Subject: | RE: [PHP] Connecting Form result to PHP query? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-88494@lists.php.net to get a copy of this message | ||
Form elements are passed to the following page as variable names. For
instance, the text value in subject 1 input element:
<INPUT type=text name=subject1>
is passed to the following page as: $subject1
-----Original Message-----
From: PHPList [mailto:php@lmlweb.com]
Sent: Wednesday, March 13, 2002 11:59 PM
To: php-general@lists.php.net
Subject: [PHP] Connecting Form result to PHP query?
On first page, there is a form where
User must select choice from Subject1 (mandatory)
User may select choice from Geographic Area (optional)
When you click on Go, you go to Results page where there will be
instructions for PHP:
Search database where Subject1=$subject1 OR Subject2=$subject1 AND
Geographic=$geographic
Whenever there is a match in Subject1 OR Subject2 AND MAYBE a match in
Geographic
Then display results in an HTML-format.
Q: How do I send the results from the form on first page to the results
page?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php