So what do we need? Simple HTML doesn't cut it. You need something to enhance HTML to make it do cool stuff. What you need is PHP. What's PHP? It's scripting code to mix into your HTML to make it do, well, cool stuff.
Well, it's easy. You have your HTML page as always (wait.. I hope you at least know a little HTML! If not, you'll have to get up to speed on that). But whenever you want to cut over to some PHP scripting you put a "<?php". And whenever you want to cut back over to the HTML, you put a "?>". Below shows what I mean.
Instead of "//some php script goes here" you could have put something like: echo 'my first line of php script!';
"echo" is a PHP command that outputs text. So in this case, it would print the line "my first line of php script!" in between your h1 tag and your "Now we're back to HTML" paragraph. You should note, every line of PHP ends with a semi-colon and lines of text should be put inside either double or single quotes.
Click to Page 3 to begin our simple example quiz.