How to connect php file from wamp server to an html page

Hello I have 1 php file saved into wamp server localhost. In the file im calling an sql server to fill with a database a table. In wamp server localhost when i open file it runs correctly . How can i open file through html page?

i am doing same thing…but when i open in local host they give error of" Unable to open WampServer’s config file, please change path in index.php file"…plz guide me…