View Single Post
05-08-2008, 09:17 PM
Join Date: Nov 2007
Location: the Netherlands
I tried google for a second but didn't found a tutorial that fast.
What Wildhoney means with the ID is a sort of linking. A way to link a company to a category by giving the category an ID.
Let's say you have 5 categories in table 'categories':
Each category has it's unique ID.
Now lets say we would like to add some companies to table "company".
You now linked all companies to a category. So now when you want to list all companies from the category "bikes". You need to query the database for all companies where the Category-ID is 4.
I highly recommend you to search for a good tutorial for this (with more database tips). Because in the end the database layout is one of the most important things of a big and good working system! :)
Who doesn't like martial arts? =)
View Public Profile
Send a private message to Jim
Visit Jim's homepage!
Find More Posts by Jim