Dynamic Form With Database

Hello,

I have problem. In my first Start Site, i have form register. How i can do, dynamic form, where form call in dataBase and display input in start Site.

Example:

I have page, where i checked checkbox:

[ ] name

[ ] year

[ ] /n

and i save value in DATABASE then next: When i refresh first Start Site, a form, call in database and when value in table is -> 1 , then the input is visible, Or something that… how i can do it?