So i have this site, and i want users to be able to edit the html on a certain page, but they must be logged in by a session (ive got that done now) but i have no idea how to code this (if its even possible)
Why/what are you trying to do? Allowing them to edit the page isn't that hard, but depending on what you're trying to do, can be a very bad idea.