jillellarajakumar 0 Posted June 25, 2015 Share Posted June 25, 2015 Hi, I have written the code for users ranks based on locations. But, how to get the current logged in user location ranks. Ex : user registered with "Hyderabad" location. User should get all the ranks of all students in Hyderabad location only. Link to post Share on other sites
benanamen 130 Posted September 25, 2015 Share Posted September 25, 2015 You have not provided the type of database you are using nor your current code. You need to help us to help you. It is basically just adding a WHERE condition to your sql. SELECT * FROM your_table WHERE location ='Hyderabad' Link to post Share on other sites
Recommended Posts
Archived
This topic is now archived and is closed to further replies.