Dynadot Black Friday and Cyber Monday 2026: save more on domains. See our sales.

Multiple users login in Content Management System

SpaceshipSpaceship
SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Watch

bickyz

New Member
Impact
0
Im doing a intranet project using php and mysql.

How to do make a multiple user logins so that each user can only edit their own details, or add details.

Users will be entering the following details via cms:
Products Name:
Products Price:
Products Quantity:
Products Image:
Products full details:

All of these details will be entered in the database where visitors will search based on the Products Name/Price.

Current one i have designed where only 1 user can add/edit the products.
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
You should encorporate a primary key. Have this key their user id number.

For example:

When they register associate them to a key (usually the number of user they are...for example the 500th user to register is 500).

Then you should take this number and store it when they submit their info. Then you can compare it and say if user # = blah, let them edit. Else, display message that tells them not too.

If you need more help let me know.
 
0
Close
Hi LeetPCUser,
Do you mean i have to create 2 table one with user's name and id as the unique primary key.

And other table with the
Products Name:
Products Price:
Products Quantity:
Products Image:
Products full details:
 
0
Close
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

New: watch any domain
You can now watch domains on NamePros. We check each one and notify you when something changes. Search for a domain and press Watch on...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back