andalib14 Posted April 29, 2010 Share Posted April 29, 2010 im developing an application that can stor dvd informations...users can register and then can login..after login they can add new dvds or show dvds or search dvd contents...my problem is...say im a new user and i log in and save a dvd with its contents...then i log out...some other user logs in and then adds his dvd info...then when he hits show dvds he can see d whole database..both mine and his dvds..i want to make user accounts private..say i will not c what the other user saves but only he can...how can i do that?? im adding some of the codes that will be modified actually..i duno how ! plz help [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/200200-help-with-multiple-user/ Share on other sites More sharing options...
ignace Posted April 29, 2010 Share Posted April 29, 2010 add a field user_id in your dvd_info table. When you select the DVD's you use: WHERE user_id = .. Quote Link to comment https://forums.phpfreaks.com/topic/200200-help-with-multiple-user/#findComment-1050688 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.