in reply to Checkboxes into an SQL Select query
$columns = join ',', # paste them together separ +ated by commas map { $db->quote($fd{$_}) } # extract the value and quo +te it grep { exists $fd{$_} } # keep only the checked one +s ('chk1'..'chk6') # Checkboxes ;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Checkboxes into an SQL Select query
by Quicksilver (Scribe) on May 31, 2007 at 08:48 UTC |