First off - yes your user_id should be autoincrement.
Secondly since this is a unique value you can use it as a Foreign Key in other tables, ex.:
users
user_id
fname
lname
address
zip
city
zip
city
comments
id
user_id
title
comment
If you make following select you will join these three tables. I'd then show you the result afterwards:
$query = "SELECT user_id, fname, lname, address, zip, city, title,
comment FROM users, city, comment WHERE
users.zip = city.zip AND
users.user_id=comments.user_id ORDER BY user_id";
$result = mysql_query($query);
while($resarr = mysql_fetch_array($result){
echo $resarr[0]." - ".$resarr[1]." - ".$resarr[2]." - ".
$resarr[3]." - ".$resarr[4]." - ".$resarr[5]." - ".$resarr[6].
" - ".$resarr[7];
}
Given following data the result would be:
user(1, "john", "Doe", "some street", 12345)
user(2, "jane", "doe", "some other street", 54321)
city(12345, "some big city")
city(54321, "some small city")
comment (1, 1, "first comment", "by John Doe")
comment(2, 2, "first comment", "by jane doe")
comment(3, 1, "another comment", "by john doe")
the result:
1 - john - doe - some street - 12345 - some big city - first comment - by john doe
1 - john - doe - some street - 12345 - some big city - another comment - by john doe
2 - jane - doe - some other street - 54321 - some small city - first comment - by jane doe
Hope this clarifies it a bit.