Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: DBI problem on fetchrow

by moritz (Cardinal)
on Nov 15, 2007 at 17:21 UTC ( [id://651028]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $sth_max_score->execute();
    # no loop here:
    my @max_score = $sth_max_score->fetchrow_array();
    # now $max_score[0] holds your desired value
    
  2. or download this
    $sth->execute();
    $sth->bind_columns(\my $max);
    $sth->fetch;
    # $max holds the value here
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-26 00:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found