Hello I am trying to create a survey web app.

The way I see is that I will add the questions to the MySql Database and what I want is that through Javascript to create radio buttons with those questios so pretty much it should be like:

Radio button (Javascript) - Question (PHP/MySQL)

At the same time I need to see how many answers there are for that question since its gonna be multiple choice so through JavaScript I need to create a dynamic quantity of radio buttons.

Any idea how I can do this?