#!/usr/bin/perl use CGI; $q = new CGI; @CheckBoxData = $q->param("checkboxName"); print "insert into table (colname) values ( \"@CheckBoxData\" )\n"; # or foreach $v ( @CheckBoxData ) { # process the value print " insert into table ( colname ) values (\"$v\" ) \n"; }
In reply to Re: CGI type question involving arrays..
by wardk
in thread CGI type question involving arrays..
by reyjrar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |