Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re: DBI (incorrectly) bound variables

by Xaositect (Friar)
on Jan 31, 2003 at 20:50 UTC ( #231717=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $sth -> execute(
         $self -> param('catalog_id'),
         0 + $start_item,
         20
     );
    
  2. or download this
    $sth->bind_param(1, $self->param('catalog_id'), SQL_INTEGER);
    $sth->bind_param(2, $start_item, SQL_INTEGER);
    $sth->bind_param(3, 20, SQL_INTEGER);
    $sth->execute();
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2019-10-16 05:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?