I have an HTML file we'll call it dashboard.html.
I have a PHP file called index.php that will load on the webserver by default.
I have a mySQL database called myDb.
From index, how do I load the HTML file dashboard and INSERT data from my SQL database into the appropriate places?
Right now the html file may have a line that reads: John Doe . Instead of having a name in that span, I need to replace it with the appropriate PHP to insert the appropriate name from my SQL database. I actually already know how to echo the data from mySQL to the . What I don't know how to do is load the HTML from the PHP file.