Poll in php by OOP