I thought about doing this about 2 months ago. I am looking for another project to do in my spare time, so I thought I would have a crack at creating my own auction site to see how they work. I'm keen but bloody mad.
I have some ideas in place and I have one question. Everything will be linked together via ids across the tables.
A user will login and their member_id will be used as the session. The member_id will be inserted into the bids table, this way I can identify them when they place a bid.
For the moment I need to get my head around one thing with mysql.
Below are two tables very basic tables one for users and the other for bids.
when a user bids the member_id will be inserted into the bids table. Using the member_id I should be able to echo the username from the users table but how do I form a relationship beween the two tables with a mysql statement so that I can do this?
users_table
username
password
member_id
bid_table
auction_id
member_id
bid_amount
date_bid