please if u can help me
i have created a log in on dreamweaver and i had created one intranet in one company coz i have on study project to do
i have created emploeys with their datas
and created a log in form on dreamweaver
but the problem is: when i log in as a username :grisel with the pasword :grisel the programs showed me my datas and all the other users datas
i want a restrict acces when i log in as grisel, program show me only grisel datas and not the others users datas
if u got it the problem,please give me an asnwer
sincerely grisel ndria
griselndria
0
Newbie Poster
Recommended Answers
Jump to PostHi, you have to use a WHERE condition in your query to select only the data related to the logged user. For example:
select * from user_details where user_id = 12;
If you paste:
- the query used to select the data to display
- the tables structures …
Jump to PostThis should continue here: http://www.daniweb.com/web-development/php/threads/433906/php-user-datails-display
Please don't open more than one thread on the same question. Bye.
All 5 Replies
cereal
1,524
Nearly a Senior Poster
Featured Poster
griselndria
0
Newbie Poster
griselndria
0
Newbie Poster
cereal
1,524
Nearly a Senior Poster
Featured Poster
griselndria
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.