I have a form with 2 fields.
The user completes one of the fields and the form is submitted.
On the results page I want to run a query, but this will change
subject to which field is completed.
In ASP I can use:
queryA = request.querystring("A")
queryB = request.querystring("B")
If QueryA <>"" then
Elseif QueryB <> then
ANOTHER SQL STATEMENT
The pages checks for a value in QueryA or QueryB then creates the
correct SQL Statement..
How do I do this in PHP ??