My question is, how do you make files such as those website files you see where instead of having separate pages like this:
http://www.website.com/form.php
http://www.website.com/list.php
They have one file with different "actions" like this:
http://www.website.com/index.php?action=form
http://www.website.com/index.php?action=list
I understand that "action" is a variable but I don't understand how to get all of that stuff seamlessly into a file.
Another example that is probably more applicable to me right now is a story. Say I want to make something that displays a paragraph and then when you click next, "moves on" in the story (displays another paragraph). How do you do this while keeping the order?
How do you integrate the HTML properly? Thanks.