Rather than reading a mountain of documentation online, just take a closer look at the distribution code provided by CS50 Staff in the
Make sure that you understand the
render() function in particular. Pay attention to the way the Controllers (under
~/pset7/public) and the Views (under
~/pset7/views) are implemented.
Once you understand this, you should be able to modify the code in the Controllers and Views provided for you by your instructors. Just copy a Controller (like
login.php) into a separate file, and edit it to suit your needs. Views are even easier, once you understand how
render() works. They can just contain raw HTML with a few
<?= $variable ?> substitutions.
Hope this helps!