I would do it this way, - on Page Load get the result from db and display it - user selection ---> update db --> return the updated result --> display it
On Nov 8, 12:34 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi all, > > I want to build something so that when someone submits his poll choise > that the poll will change into the results without any refresh. Whats > the best way to start of with for building this? > > So: > - user visite the site > - user chooses a option on the poll > - he presses on vote > - then his answer will be added to the database > - poll results will show > > When a person already voted he also has to show the results. > > Whats the best way to start of with? > > Erwin