Please I will like to know how to use array with radio button. There are 3 radio buttons and they all contain certain number. When 1 is selected, then it will show the amount.

I don't quite understand your question.

Do you mean, you have 3 radio buttons. For example

Rdbut1
Rdbut2
Rdbut3

When a user selects Rdbut1, the value 1 is displayed in a text box?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.