Checkbox Data into one variable?

Results 1 to 2 of 2

Thread: Checkbox Data into one variable?

  1. #1
    Join Date
    Dec 1969

    Default Checkbox Data into one variable?

    How can I get several checkboxes (all named: publications) into one variable.<BR><BR>Do I need to do something like:<BR><BR>For each Item in Request.Form("publications") <BR>publications = publications + publications <BR>Next <BR><BR>???

  2. #2
    RDM Guest

    Default Output

    Doesn&#039;t the value in Request("publications") look something like<BR><BR> 1,0,1,1,0<BR><BR> because it&#039;s an HTML control array?<BR><BR> I think you could use the Split() function to the values in an<BR> array or just use the comma delimited value in the string to <BR> pass in a SQL statement.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts