Dreamweaver PHP Recordsets

I created a simple lookup form in Dreamweaver to query a MySQL database.  Right now I have it looking up based on a single input.  I would like to use 2 inputs to do the lookup.  I know this is done in the advanced tab but I have no idea how to accomplish this.

Sorry for the poor terminology I am new to recordsets.

Screen shot may be helpful to understand my problem.
ss.jpg
LVL 1
fferrelAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

cataleptic_stateCommented:
What do you want to "lookup"?

Do you want a "Chained" dropdown box where input 1 will determine input 2's content?

Or do you just want to load two different values?
0
fferrelAuthor Commented:
Currently I have it where they enter in the PatronID and it will output LName and AccountBal.  

I want it so they have to enter in the PatronID and LName to get the AccountBal.  No dropdowns just text.
0
thedwillCommented:
you can specify multipe WHERE conditions using AND


Select AccountBal from table
WHERE PatronID = $patronvar AND Lname = $lastname
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
fferrelAuthor Commented:
You rock man,  thanks again!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Dreamweaver

From novice to tech pro — start learning today.