Quick Note
I'm on a fair beginner's level of web development HTML, CSS, javascript ran locally. For this, I'm using Visual Studio Code.
To The Problem
Recently I've gotten to the part where I need web server functions and database control. For this, I decided to go with XAMPP & MySQL Community Server. There have been no issues with setting this up locally.
So when I started delving into PHP coding, it's fun and I've already created a couple of files and also managed to make the PHP files connect to my database.
HOWEVER I can't seem to find one obvious way to actually connect my ".php" files to my actual main document which is the HTML document.
I might have misunderstood how PHP actually works, though to make an example to my question;
Just like you have your HTML document separated from a CSS document, at least in VS Code, you establish a connection link rel="stylesheet" href="index.css" for example, for my reasons at least to make the workspace much cleaner than bombarding the HTML document with CSS.
How do I do this with PHP files? Cause whenever I run my PHP files as they are, they work as intended, but I can't find a way to actually bind/connect them to my HTML document.
I'd love some input or a proper answer to this, and I will gladly respond with the necessary information.
Cheers :)!