Jump to content

Each User A Row Or An Entire Table?


mostafatalebi

Recommended Posts

Hello everybody

I'm designing an online translation-services site, and a question is just wandering around my head:

 

May I make a table for each translator respectively? because I want the translator to be able to see all her/his records, payments and more...

 

Can anybody give me a comprehensive explanation of such process?

Link to comment
https://forums.phpfreaks.com/topic/271693-each-user-a-row-or-an-entire-table/
Share on other sites

You'd have a table for all your translators, and a table for records, another for payment, etc.  Each record/payment row would contain the ID of the user it belongs to, then when you query for a user's stuff just include a WHERE UserId=$CurrentUserId in the query to limit the results to only their records.

 

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.