in reply to mysql, checkbox, set, processing
But InfiniteSilence is asking all the right questions...# 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);
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 | |
by mwp (Hermit) on Sep 01, 2005 at 04:37 UTC |