Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: How do I use a database and handle checkboxes?

by princepawn (Parson)
on Aug 22, 2000 at 23:12 UTC ( [id://29096]=note: print w/replies, xml ) Need Help??


in reply to How do I use a database and handle checkboxes?

If you use DBIx::Recordset which is built on top of DBI, you can commit form data to database in one line of DBIx::Recordset:
@names = $q->param(); map { $fdat{$_}=$q->param($_} } @names; DBIx::Recordset->Insert({%connect_dsn,%fdat});

For more information on DBIx::Recordset, visit: http://perl.apache.org/embperl/index.html

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://29096]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-16 21:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found