PHP & MySQL
Here is a short video that shows how to link MySQL and PHP:
// Change heading:document.getElementById("myH").innerHTML = "My First Page";
// Change paragraph:document.getElementById("myP").innerHTML = "My first paragraph.";
var x = 5; // Declare x, give it the value of 5var y = x + 2; // Declare y, give it the value of x + 2
/*
The code below will change
the heading with id = "myH"
and the paragraph with id = "myP"
in my web page:
*/
document.getElementById("myH").innerHTML = "My First Page";
document.getElementById("myP").innerHTML = "My first paragraph.";
<?php
and ?>
. See how it generates numbers, creates lists, and adds text directly to your webpage?