What stops me from doing it is that a) right now it is the worst kind of spaghetti as I was learning as I was going and b) I have no idea how to properly design it program-wise.
I have a script that handles the single map view: https://github.com/SpiritQuaddicted/Qua ... etails.php -> (webserver turns *.html into details.php?map=*) -> https://www.quaddicted.com/reviews/sksp2b.html
On it you see some static stuff pulled from the database like the map's title, author, etc. But there are also dynamic parts. Users can add comments and tags to it using a POST to the same script (so I have a huge ifthisifthat block at the head of the file). Users can also rate the map with a GET request to a via AJAX.
User authentication is handled through the cookies of a FluxBB installation which just increases the mess.
I am not using functions nor MVC because I have no clue how.

Earlier I wanted to implement (eg "maps i have played" or "worst maps evar!!1"). I started drafting some functions (for example addMapToList() that would take the map id and the list id and do the SQL) but gave up when I realised it would just increase the current mess.
Ideally I guess I would have just a bunch of functions like addTag($map, $tag), editComment($id, $newtext) which I could then use without having my scripts explode with SQL here and sanitation there. But then where would I do the authentication for example? Would I have one main script like a main function that handles all requests? How do I do messages after users interacted with the site?
I did look into frameworks once but that just confused me more.
