i appreciate your explanation, but it is still somewhat foggy.
i understand what you mean about making the primary key "id" and using that to relate to other tables.
my tables are now:
+-------+-------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-------+-------------+------+-----+---------+----------------+
| name | varchar(10) | | | | |
| pass | varchar(30) | | | | |
| uid | int(11) | | PRI | NULL | auto_increment |
+-------+-------------+------+-----+---------+----------------+
+----------+--------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+----------+--------------+------+-----+---------+----------------+
| id | int(11) | | PRI | NULL | auto_increment |
| filename | varchar(100) | | | | |
+----------+--------------+------+-----+---------+----------------+
are the tables right?
yes files, like a word or exel document. as for index, i mean a dynamic page that lists the users files. they could have one file, or twenty.
would the sample script you put in there display them, or list them?
oh, and how do you get files into mysql? i have three books i am reading, but none seem to have it. :rolleyes:
i am lost still.