$result = mysql_query("SELECT * FROM users, collegiate WHERE collegiate.user_id=users.id") or die('Error : ' . mysql_error());
right there it is printing out millerp, as for why. I do not know since its outputting the resource of the query. It could just be returning the first field from it.
As for you displaying the proper content, I'm not sure what the code is on your original page that says HELLO MILLERP! but it looks as if you're echoing back the user's id. But I'm not sure since I don't know your code.
Anyways, in order to display a user's profile page, the use of cookies or a session makes it a lot easier. You can do another way but that takes too much work. So, you will probably want to make the session or cookie variable( we will start calling it a session variable for simplicity sake) something that is easily referenced in your database. In this example we will use the user's name, because it is unique. So you have the part right about pulling up the article information but you will want to make another database call that pulls out the user's first name.
// gets the resource from the database where we can gather our data
$query= mysql_query( "SELECT firstname FROM mydatabase WHERE userid = userid");
// gets the result from the query, since there is only one name associated to this uniqueid it should only return one row.
$result = mysql_result($query, 0, "firstname");
Now that you have the firstname, you can output it anywhere you choose. with a print $result.
Hope this answers your question.