Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialSimon Chercka
23,809 PointsNext level: how to have multiple users in options table?
This course shows how to add and hold one user at a time, But what if I want to store multiple users, not just activate and use one at a time?
Would I have to create my own db table to store these, or should/could I still use the options table?
Obviously many of the calls would have to change, but what would the structure look like in the options table, since I'm assuming that is where to put it. Instead of just update_option($array) would I be updating the option field with an object, a multidimensional array? Or would each user be added as it's own option in the table?
Thanks!