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

  • Home
  • SEARCH
  • 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 8174663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T22:31:09+00:00 2026-06-06T22:31:09+00:00

I am in the process of implementing a favorites system into my web application.

  • 0

I am in the process of implementing a favorites system into my web application. Users will be able to favorite which pages they like and these pages will then become visible in the favourites section of their profile.

I need to store a list of their favorites in the mysql database. As they will likely have more than one favorite I will either need to store them in an array or individually in a table called ‘favorites’.

Which is the best way to go?

  • 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-06-06T22:31:11+00:00Added an answer on June 6, 2026 at 10:31 pm

    I would certainly store them as individual rows of data. Makes it much easier to manipulate at a later date. Makes things such as “Most Favorited” easier, will be easier to index, will make adding/removing individual entries from a user easier and won’t be adding much overhead to the size of the table in the database.

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

Sidebar

Related Questions

I'm implementing a two-step wizard-like process on a web page. The operation is reassigning
Hi I am implementing an IM-server-like application in Erlang. I used one agent process
I'm implementing a process elevation helper for Windows. It's a program that will run
I want our users of a web site to be able to either search
I'm implementing a JPA-like process: all classes representing a table must subclass a DBTable
I am implementing little monitoring application, so i am hooking CreateWindowExA/W in process, so
I'm in the process of implementing a user authentication system for my website. I'm
I'm currently in the process of implementing CSRF protection into my framework (PHP). However
I am implementing audio streaming app which handles the streaming process manually by implementing
We are in the process of implementing a CMS for our project which currently

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.