Hi there, I am working on a website design for a simple computer store. I have all the html code and php files that i want already made but I am having trouble putting it all together. The problem is adding the file together, for example i have a login htmle page but i have a login php file with the function to check the database for the correct details, I dont know how to put these together to make it work. Do i just add the php code to the bottom of the html code or do i reference the php code in the html?
Any help would be much appricated!

Use php as action page for your form in HTML.
<form action="script.php" >