PDA

View Full Version : need help in this (how to put the value of QueryString into an array)



yoyali
05-06-2006, 10:43 AM
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


<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>
in this form i get the book id in the value of each check box . to update them later,
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