Hi everybody,
My problem is ,I have this form with "get" Method, and it have many checkboxs that are created autimayicaly from the DB , So all of them have the same name ,Here is the form
in this form i get the book id in the value of each check box . to update them later,Code:<form action="book.asp" method="get" > <input type="hidden" name="id" value="<%=session("session_id")%>"> <input type="hidden" name="page" value="management"> <input type="hidden" name="act" value="manage"> <input type="hidden" name="act2" value="manage"> <table width="70%" border="1"> <tr> <td> </td> <td> Book ISBN </td> <td> Book Title </td> </tr> <% while not rs.eof %> <tr> <td> <% dim item %> <input type="checkbox" value="<%=rs("book_id")%>" name="item"> </td> <td> <%=rs("Book_isbn")%> </td> <td> <%=rs("book_title")%> </td> </tr> <% rs.MoveNext wend %> </table> <center> <table > <tr> <td> <input type="submit" value="Manage Items"> </td> </tr> </table></center></form>
what i need is to know how to get these values in an array , or to get them by any other mean.
thank u all
Yoya



Reply With Quote
Bookmarks