Click here to Skip to main content
15,897,704 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

I am a php developer (fresher), I have got a project like www.ddamas.co.in.

How many tables create in database this site and filed with (pkey&fkey).




Thanks
Posted
Updated 20-Oct-10 21:18pm
v2
Comments
The Manoj Kumar 21-Oct-10 1:59am    
You should try to find some shopping cart samples on google and then analyze their database.

1 solution

Well, clearly a homework/project for you AND you have no clue whatsoever of it.

Suggestions:
1. Gather information about your project
a. Workflow
b. Audience
c. Data

2. Based on knowledge gathered, you would need to design your database to handle it. While designing the DB, you will come to know about PK & FK's. One cannot tell about them right now.

You application will talk to the DB (tables created and related with each other using FK's)
 
Share this answer
 
Comments
Dalek Dave 21-Oct-10 3:56am    
Agreed!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900