I am attempting to build a RIA using Flex3, PHP, and MySQL. I am really a newbie when it comes to MySQL. I need some help in desiging my database for this application.
My application will allow people create a user account, and to log information they would like to keep track of. For this example, lets say they are logging bicycle rides. Each user will have one account, but will log many bike rides.
I would obviously have one master user table containing all user information, with a userid primary key. Would I need to create a seperate table for each user to log their bike rides? If this is what I should do, how would I create these tables automatically when a user registers? Here are basic examples of the tables I think I need...
USERS
userid INT PK
username VARCHAR
user_first_name VARCHAR
etc...
USER_BIKE_RIDES
userid INT
rideid INT PK
ride_date DATE
ride_distance INT
bike_used VARCHAR
etc...
Thanks, this will really help me!
Kevin