hello.

For i=1 To 40

    Response.Write("<td height='30' align='center'>x")
    Else 
    Response.Write("<td height='30' align='center'><input type=radio name=asd value="i"><br></td>")  // PROBLEM HERE
    End If

next

the code makes value of radiobuttons "i" as string, it should print i as variable like 1,2,3,4,5,6,7

Recommended Answers

All 2 Replies

Try

 value='" & i & "'

Thank you very much

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.