Topic: Get All The Users with certain values
Hi,
Currently I'm using following code to get the user profiles which returns each user separately or if I use for loop on "id" it generates list:
Users::$users = new Table('users'); View::factory('box/users/views/frontend/members') ->assign('user', Users::$users->select("[id='1']", null)) ->display();
I want to generate profiles of all the users with value "Admin". e.g. there is <role>Admin</role> in database. I want all the profiles that have this value to be generated.
How do I do that?