17488 Posts in 4473 Topics by 1978 members
| Go to End | ||
| Author | Topic: | 4452 Views |
-
Re: Adding user fields + Register function + Admin area SLOW

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. -
Re: Adding user fields + Register function + Admin area SLOW

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.Woot!
If anyone wants any sort of thing like this, ask and I can show you how.
| 4452 Views | ||
| Go to Top |

