Hello,
I am creating a site for a friend of mine, needless to say i am way over my head but I dont like to walk away from a chalenge
the db will be used for his shipping based company. The idea is that they go to the site, enter all the data, where its going where its comming from details of the shipment, whos paying for it etc...
currently i have each section broken down into different tables all of which have a orderid foreign key that ties to a order table... that table simply has the orderid and the ids for all the other tables that corespond to that table...
I am not sure if this is the proper way to design this or is it better to have 1 huge table for each order... and a couple small tables for customer records etc.
Too me the way it is being setup currently makes sence to me but I am not sure if having the data from the php form and appropriate table id will update in the correct areas by clicking the single submit button.
Let me know if it will help by wrighting out the tables here...
Thanks in advance
Keith
I am creating a site for a friend of mine, needless to say i am way over my head but I dont like to walk away from a chalenge
the db will be used for his shipping based company. The idea is that they go to the site, enter all the data, where its going where its comming from details of the shipment, whos paying for it etc...
currently i have each section broken down into different tables all of which have a orderid foreign key that ties to a order table... that table simply has the orderid and the ids for all the other tables that corespond to that table...
I am not sure if this is the proper way to design this or is it better to have 1 huge table for each order... and a couple small tables for customer records etc.
Too me the way it is being setup currently makes sence to me but I am not sure if having the data from the php form and appropriate table id will update in the correct areas by clicking the single submit button.
Let me know if it will help by wrighting out the tables here...
Thanks in advance
Keith