This topic is locked

Users to update their own details

6/27/2006 10:10:32 AM
PHPRunner General questions
O
osluk author

I have a table users which was originally for the database entry staff.
We now want to restrict access so that registered users can access it.
I built a new project accessing the same tables which only sees the Users table.

It seemed intially to work fine.
User A could see only there record to keep details upto date etc.
When they logged into the second project they could then have access to see and list data.
Should this work?

Am I missing something fundamantal.
When it did work the group, username and password fields were not visible. Now they are.
Currently - If I create a new user via the signup project - then log in as the user - no records are returned.
Hope this makes sense.
Cheers Chris

Sergey Kornilov admin 6/27/2006

I'm having big problems understanding what exactly you trying to build or what problem you having with it. Please elaborate.

O
osluk author 6/27/2006

I have a list of wine stuff.

table is called data

users are held in a table called Users
I wanted to allow each registered user to update there personal details

This will eventually have news letter preferences personal details etc
I would also allow them to view the infomation held in data.
To avoid the external subscribers having to choose the table I created a new project

One database 2 projects attached to the one database.
Users register and update their data via the signup project

and view the data via the view project

admin of the data is via a different project as there is only one view possible
I hope this makes it a bit clearer.
I love the program - thanks for the hard work!
Cheers Chris