Jump to content

Recommended Posts

I building a websites in multiple languages.

for translations I have a table called text

text has the following columns

id, languageid, type, text

the type is to make a difference between different kinds of text

for example the text that is part of the website interface is type 1 (buttons, instructions how to log in or reset passwd)

the brands of products are type 2

the description of products are type 3

 

This makes that I don't have to join tables if I want to get all the text of one type but I wonder if that is a good enough reason since I could get the same result by joining tables.

 

anybody care to comment ?

anatak

Link to comment
https://forums.phpfreaks.com/topic/194842-db-design-mysql-51/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.