Welcome Guest, Not a member yet? Register   Sign In
Simple multi-user site
#1

[eluser]Unknown[/eluser]
Hi

I am new to CodeIgniter, so i would like a bit of advice here.

I need to make an app which is used for deadline management, and can be compared with a calendar with events. This "calendar" is personal and every user has his own calendar where he can create his own events.

I can easily make this as a single user app but i could use some advice on how to handle multiple users.

I guess CI could be useful for this. My own idea was something like:

- When a user creates an event, store it in a table with the user's ID.
- When selecting data, use the logged in user's ID in the query and get the corresponding event(s).

But this is probably not the way to do it.
#2

[eluser]Aken[/eluser]
That's exactly how you'd do it.




Theme © iAndrew 2016 - Forum software by © MyBB