MySQL Forums
Forum List  »  Newbie

Re: users viewing only there data
Posted by: Vlatko Šurlan
Date: March 23, 2006 07:50AM

One idea is to have a user id in each row. Then, when a user is browsing for rows you just add this to the sql for that particular user:

WHERE table_in_question.user_id = 345345; /* Where 345345 is for example current users id */

http://www.docplanet.org/mysql/ - My collection of MySQL tips and tricks

Options: ReplyQuote


Subject
Written By
Posted
Re: users viewing only there data
March 23, 2006 07:50AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.