Send radio button value to the MySQL

Hello, I want to ask if anyone know any reference or ways to send the radio button data to mysql database? I want to make a form where user can select “Agree” or “Not Agree” for each question

you want to get its data/written text or you want to press?

1 Like

to get its data

just try this queryselector

document.querySelector(‘.radio’).innerText;

One suggestion: use Google. There you do a search, typing or speaking, click and it brings you thousands of answers.
Ok ?

I have already used that method, and I also searched on YouTube. That’s why I’m asking in the community.