It turns out that in my database I have a table called votes , in which within the column option I store
a and b
Then I want to get the total amount of 'a' stored in the table as well as the total amount of 'b' stored in the table.
What would be the correct way to do it with CodeIgniter?