in reply to mysql, checkbox, set, processing

Well, quite simply,
# prepare query to insert set my $sth = $dbh->prepare('INSERT INTO myset (col) VALUES (?)'); # build set to insert my $set = join ',', $cgi->param('Name'); # insert set $sth->execute($set);
But InfiniteSilence is asking all the right questions...

Updated to include ikegami's corrections.

Alakaboo

Replies are listed 'Best First'.
Re^2: mysql, checkbox, set, processing
by ikegami (Patriarch) on Aug 31, 2005 at 21:58 UTC

    Shouldn't that be $cgi->param('Name'), and
    are you sure those parens are suppose to be in $set?

      Yes, no, and thank you!

      alakaboo