I have a table called BID with the following fields
bidder, seller, iid, starttime, bidtime, and bidprice
bidder is an id number that is reference to uid of table USER
the USER table have the following fields,
uid, uname, city, and state
I created a BID form for the user to enter data into the BID table.
What I am trying to do but is having trouble with is have the user search for their name that may already be store in the uname field in the user table, and what ever they choose base on their search, the uid of this uname gets store into the bidder field of the bid table. How do I do this, could someone advise me?
After taken care of this step, I still have a second step where the user in the bid form
can search the iid but shows the itemname from the item table, and the value of seller, iid, and starttime from the auction table gets populated into the bid table.
How do I do this, please advise. I hope it makes sense.
iid from the auction table is reference to the itemtype and the following fields exist in the itemtype table.
iid, itemname, description
bidder, seller, iid, starttime, bidtime, and bidprice
bidder is an id number that is reference to uid of table USER
the USER table have the following fields,
uid, uname, city, and state
I created a BID form for the user to enter data into the BID table.
What I am trying to do but is having trouble with is have the user search for their name that may already be store in the uname field in the user table, and what ever they choose base on their search, the uid of this uname gets store into the bidder field of the bid table. How do I do this, could someone advise me?
After taken care of this step, I still have a second step where the user in the bid form
can search the iid but shows the itemname from the item table, and the value of seller, iid, and starttime from the auction table gets populated into the bid table.
How do I do this, please advise. I hope it makes sense.
iid from the auction table is reference to the itemtype and the following fields exist in the itemtype table.
iid, itemname, description