17452 Posts in 4473 Topics by 1971 members
|Go to End|
17 October 2008 at 4:11pm
At the moment I'm not quite sure how the relations with the databases work. (bumping)
For my system I need three parts to it.
First part - normal user, normal privileges:
The normal user submits a form telling more about themselves. Each normal user can only have one table row. If they submit it twice it updates the previous submission.
Second part - stage two user, a bit more privileges:
The stage two users give their opinion about a single user, and they can submit only one submission per user. If they submit twice on the same user it just updates the row submitted before.
Third part - stage three user, same privileges as stage two:
The stage three users are another group to give submissions about a user. Same as stage two, they can only submit one for each user, updating if they submit twice.
17 October 2008 at 5:31pm Last edited: 17 October 2008 5:32pm
Got it working! There's always more than one way to do things!
I made it check for existance first before updating the field.
If it existed, then it updated.
If anyone wants any sort of thing like this, ask and I can show you how.
|Go to Top|