Jump to content

Recommended Posts

I am trying to give the users on my page the ability to make their own folders for storing messages.

Now in each messages row I added a column called "box", so that if my users drag their message to the certain folder then it will just update the box column with whiever folder they want it in. That way it is easy for displaying the messages of each folder, by just using a "index.php?box=$box_result" and then a "WHERE box='$box'".

So that is easy. The part I am wondering about is them adding new folders. I could make a table that is just three columns "id", "user_id", "folder". But I have a ton of members and the amount just keeps growing and I am worried that this might get too many entries over time.

Is there a better way? should I not worry? How many rows can mysql handle before getting bogged down?

thanks for any help. If youhave a completly different better way of doing this let me know.

Chris
Link to comment
https://forums.phpfreaks.com/topic/11725-giving-my-users-a-message-folder-option/
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.