I had created my website locally
But I need to change it to website
so that I can include a search function withinin my website. I do not have a server too.
Is that any way to do it?
WAMP Server is only to test 'locally' by using your regular PC as a 'server-environment' so you can run PHP or any server side files.
If you want to host a 'real' website that everyone can access on the web, look up 'Domain name registration' and 'Web hosting' on Google. Domain name is your website's name - www.runningmanhaha.com, for example. Web hosting is your space on a server where you can put your files for everyone else to see.