Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

DBI quote: invalid number of parameters

by Baiul (Acolyte)
on Feb 23, 2003 at 02:38 UTC ( #237844=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    DBI quote: invalid number of parameters: handle + 0 Usage: $h->quote($
    +string [, $data_type ]) at usersetup2.cgi line 360.
    
  2. or download this
    my ($nickname, $pass1, $firstname, $lastname, $email, $imtype, $imid, 
    +$info, $country, $homepage) = (.
       $nickname = $dbh->quote(param('username')),.
    ...
    my $sth = $dbh->prepare( "INSERT INTO member (nickname, password, firs
    +t_name, last_name, email, country, homepage, im_type, im_id, info) VA
    +LUES ($nickname, $pass1, $firstname, $lastname, $email, $country, $ho
    +mepage, $imtype, $imid, $info)");
    $sth->execute or die "execute failed: $DBI::errstr\n";
    $sth->finish or die "execute failed: $DBI::errstr\n";<
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2022-01-16 11:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (49 votes). Check out past polls.

    Notices?