I'm working on a website where i will be selling computer equipment online and i would like to include a Search feature on my site. Can someone please tell me how the search feature works and what/how does it look for.
Eg. if someone types in Microsoft, how can i make the search results page show up the correct results that are related to the keyword.
I would use php.
Even if you dont need php functions now, you may in the future.
As for the search, Do you have your products stored in a database?
If google has all of your pages indexed you could use thier search to search your site for a term. But that can sometimes be clumsy and searches wont show up untill that page has been spidered and listed..
what are the advantages/disadvantages of using PHP?
I don't think there are any disadvantages to using php.
You are able to do anything that you would normally do with an html page, plus about a billion other things like send email, access a database, Create dynamic content, pull info from other sites..
Ultimately you will have to create each page for each product... How else could you do it?
You could either create each static page one by one, or use php to gather product info from a dastabase, But then you would have too enter product info into the database.