Jump to content

Fields, Rows, Columns, it's all confusing!


Adamb10

Recommended Posts

I made a powerful guestbook script months ago.  It was my most advanced script since it had advanced features but it lacked efficentcy.  In order to fix that I tried recoding the query backend which thus forced a complete DB redesign. 

If I have a table called "settings" which would store items such as feature enabling/disabling, the title, and other various options what fields would I create?  I get Fields, rows and columns mixed up alot.  :(

Thanx
Link to comment
https://forums.phpfreaks.com/topic/26451-fields-rows-columns-its-all-confusing/
Share on other sites

Fields and columns are synonymous -- I like using columns, since it works well with rows (i.e. rows have multiple columns, like an actual table layout, like the DB table too); good analogy.  As far as DB design, you want to keep related columns in the same table, and then relate the tables together.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.