i am new to php, but i have written a php code for a login, basically i have my index html page separate, so when i put it on the server, when i press log in, it takes me to another blank page, with written either saying your logged in, or incorrect password, so this proves my php code works.
But what i want is the writing to be displayed on my html file.
Could I run the php code on the html file with the two files being separate? or do i have to insert the php code in the html file? or other way around? (but when i do this, it ruins my html file and things below just disappear.
What I already know:
that I have to edit the .htacess file and include a line of code
would appreciate ur help, thank you.