search+display from database
I am new to PHP and doing my assigment so I need a little help.
I need to display some informations from SQL database.
Basically, I know the html part, and i made it.
I'll have two inputs, search field, and drop down, and Im using method post, and I need to write independent PHP scripts.
I supose I need two variables, one for drop down and one for search field.
I wonder how to write that correctly in PHP, and how to;
- get results from DB for that two fields
- display them back in my html file
If someone can advise me on this, I'd be grateful.
Thank you in advance!
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)