in reply to DBI inserts and what not
use $sth->prepare() and $sth->execute. you can also ( and should ) use the $sth->bind_param( :1, 'foo' ) (check your DBI driver for syntax) to bind the parameters for input (and use $sth->bind_col( 1, \$foo ) for quick output access.
DBI was designed for speed from the beginning (so says Tim Bunce), so use the features that are there.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: DBI inserts and what not
by runrig (Abbot) on Sep 11, 2000 at 23:50 UTC | |
by geektron (Curate) on Sep 29, 2000 at 06:44 UTC |