Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3451748
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T09:10:45+00:00 2026-05-18T09:10:45+00:00

Sorry if this has been covered – I’ve been looking for hours but I

  • 0

Sorry if this has been covered – I’ve been looking for hours but I think I simply lack the vocabulary to search effectively.

I’m trying to figure out how I should store profile information for each user. By profile information I don’t mean information like email and the like, but more their preferences regarding the site I’m working on.

It’s a language learning site, and I want users to be able to save their “progress”, giving them the option to flag a lesson as learned.

I also want to keep track of which exercises they have done, so that I can try to only give them exercises they haven’t done (or when they’ve used up the available exercises, start from the least recent). I’m just not sure where to store all this information.

Should I have a lookup table linking users to lessons? I fear this will get huge as the number of users and tables increases. Seeing as its just a boolean, I considered giving each user an int (and later more ints as an array) where each bit represents a lesson, and performing bitwise operators on those numbers to get the information about which lessons they’ve saved… though that sounds like it could be cumbersome in the future.

As for remembering which exercises they’ve done, I fear this will lead to a huge amount of waste if I try to save it in mysql. Could I try to have this done on the user’s computer using cookies, and anybody who has cookies disabled will simply have to deal with repeating exercise questions?

Maybe I should think about other tables and even other databases! I don’t know!

Sorry for all the rambling nonsense. At the very least I’d appreciate some pointers towards what I need to read up on…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T09:10:45+00:00Added an answer on May 18, 2026 at 9:10 am

    A lookup table between the users and the exercises is the simplest and most flexible, and you really shouldn’t have to worry about the size of it. It’ll have a user id, an exercise id, and some sort of progress variable, so (depending on your needs) that’s probably going to be less than 10 bytes of space per row. 1 million rows wouldn’t even take up 10MB of space.

    I’d probably just have records only get created in the table once the user has made some sort of progress on a particular exercise. So if you ever try to look up a user’s progress on an exercise and a row isn’t found, that means that they haven’t done anything on that exercise. That way you only need to create rows to represent progress, and it should keep the number fairly low overall.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Sorry if this has been answered already, but I think I actually lack the
I've tried searching through search engines,MSDN,etc. but can't anything. Sorry if this has been
im sorry if this has already been covered, i have had a look but
Sorry If this has been asked before, but when you search for something on
Sorry if this has been covered, but I about to pull my hair out.
I ask sorry if this argument has already been covered, but after some research
Sorry if this has been discussed before, but could nt find a suitable answer
Sorry if this has been asked, my search brought up many off topic posts.
Sorry if this has been asked before, but I'm wondering what the best memory
(I’m sorry if this has been asked before; the search feature seems to be

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.