Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re: Tricks with DBI

by runrig (Abbot)
on Oct 19, 2001 at 02:10 UTC ( [id://119818] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    my($id, $name, $phone);
    $sth->bind_columns(undef, \$id, \$name, \$phone);
  2. or download this
    $sth->bind_columns(\my ($id, $name, $phone));
  3. or download this
    select stuff
    from table
    where field1 in (?,?,?,?)
    and   field2 in (?,?,?,?,?)