How should I set up my database???
right now I have my table set up as 3 separate tables, <users>,<images>and <challenges>.
<users> table has these fields (in this order) Does order matter???
user_d
username
first_name
last_name
password
reg_date
email
website
location
show_email
last_login
create_ts
gender
address
city
state
zip
phone
country
<images>
image_id
<challenges>
challenge_id
What I am looking for is I want users to upload images to their portfolio and/or challenges and have it associate it with the user id.
So I need to know if my tables are ok or should I make changes? Images entered in challenges should know that they are in a challenge and images should know they belong to a user.
Anyone have any smart suggests as to how I should make this. I want to make it as simple as I can so I don't cut the same grass twice as they say.