Hi,
I have a form with 2 fields.
'A'
'B'
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
SQL STATEMENT
Elseif QueryB <> then
ANOTHER SQL STATEMENT
End If
The pages checks for a value in QueryA or QueryB then creates the
correct SQL Statement..
How do I do this in PHP ??
Thanks