Is this your site? Your friend's? Do you have access to the source? If your friend is trying to teach you PHP, this seems like a lousy exercise. The way to learn such things is by viewing simple examples and creating scripts, not trying to figure out how complicated sites work behind the scenes. If you want to know how variables are passed by form fields and how they're sent to a database, look at the documentation
. At any rate, without a look at the source code, we've no way to know what's happening behind the scenes except at a very abstract level.