my $sth = $dbh->prepare ("select username, password from users where sid='?';" ) #### $dbh->do("INSERT INTO table (id, name) values (?, ?)", undef, $id, $name);