There are three files to be written:
1. HTML - in which there is a simple search box, and an advanced search can be chosen (containing a search box, a dropdown field of category, a dropdown field of country, radio buttons field of object type, and radis buttons field of learning type.
2. PHP - in which the data is recieved from the HTML file (either simple or advanced search), and searched in a MySQL DB. Search should be as accurate as possible, and not only of the whole phrase i.e. also single words from the search phrase should be searched for.
3. HTML - using JS and/or AJAX create a form which changes according to user's choices throughout it's progress, i.e. at the beginning the form conatains only two fields, but when the user chooses one of the options in field 2 (before submitting), fields 3-5 are created, if he chooses another option, other fields are created, and so on. a detailed "tree" of the options will be sent after the project is won.
All code should be clear and editable in case of future changes.