I have the table where I store uid column. I want to get all the values from that table, but I only get the frist element.
My query:
$sql = db_select('voting_nomination_counter', 'v')
->fields('v', array('uid'))
->execute()
->fetchAssoc();
Where is my problem?