You could make a TABLE to stor the user data. Think of a database table as a table in HTML (If you have PHPmyAdmin they display tables this way). You'll need columns for the table. Each user needs a user id, username, password, e-mail, homepage. With this information you can make a MySQL table. here is the query you would use to make the table.
$query = "CREATE TABLE IF NOT EXISTS users (
id INT AUTO_INCREMENT,
username VARCHAR(20) NULL,
password VARCHAR(18) NULL,
email VARCHAR(80) NULL,
homepage VARCHAR(100),
UNIQUE INDEX (userid),
UNIQUE INDEX (username)
)";
Once you have the table made you can enter information into it by using a self-submitting form. When you want to view a users information you might call to the script like this: http://myhost/profile.php?id=1
Then execute a select statement using the supplied id. I knw this is probably confusing, but i suggest you grab a book on sql, prefrebably a book that shows you how to use it with PHP, or go online and find some tutorials that will get you started. Once you learn SQL it's quite simple.