Hi I am just beginning to learn how to develop web application and have recently installed XAMPP to try to get a hand of it. I have learnt online about how to connect PHP to database (MySQL) in XAMPP, and how to create the database using PHPmyadmin using XAMPP. Right now I have got a mini-database that I created in XAMPP PHPmyadmin, and a very short PHP file printing "connected to server. connected to database" after both connections are successful. My application is easy, it is to ask user a question, then the answer will be sent back to PHP, and PHP is to organise a database according to the user's answer. By "organise" the database, it is just filtering the data and get the piece of data the user wants, no adding or altering or editing or deleting the data in the database. The database is not meant to be changed except by the admin. The user's answer to 1st question determines what the 2nd question will be. Say a yes to question 1 will lead to "2nd question : what is your favourite colour", a no will lead to "2nd question : what is your hobby". and after every answer is given the database need to be filtered, say the answer is "fishing" then the data regarding nothing about fishing will not be the piece of info the user wants so I want it to sort itself out. My question is, I am now going to write PHP and javascript which are the server side scripting and the client side. But I am not sure what to put in both side. I have gone through online tutorials about the differences of both sides and what they should do but have no idea what to include for my application. Please tell me? Please let me know what to include in both sides for my application.