RE: [PHP] Connecting Form result to PHP query?

2002-03-14 Thread Rick Emery

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:[EMAIL PROTECTED]]
Sent: Wednesday, March 13, 2002 11:59 PM
To: [EMAIL PROTECTED]
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

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




[PHP] Connecting Form result to PHP query?

2002-03-13 Thread PHPList

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