PHP Heads. User database
Out of context: Reply #4
- Started
- Last post
- 5 Responses
- zeuben0
what you need is actually pretty simple to build yourself and can save you the hassle of all the extra mung you ususally have to cut through when you work with a pre-fab codebase.
you need 3 tables: a users table, a clients table, and a projects table.
each of those tables should contain the fields you need to keep track of those informations - ie -- > users = userID, username, password, email, secret code, etc.. clients -- > clientID, clientName, etc.. projects -- > projectID, projectName, clientID, projectDate, description.. etc..then follow the basic DB routine posted by unfittoprint to get the data in there from the form.
Once you get the info going into the DB -- the rest is cake. think of it as one DBcolumn per form field -- or something.
--- INSERT INTO's and UPDATE WHERE's -->
oh yeah and make sure you store a session for each user.this might help.
masticate.