Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^4: Retrieving multiple records from database

by bradcathey (Prior)
on Oct 17, 2004 at 11:52 UTC ( [id://399907]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while ($row = $sth->fetchrow_array()) {
        push (@categories, $row);
    }
    
  2. or download this
    $single_value = $categories[0];
    
  3. or download this
    $single_value = $sth->fetchcol_justone;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (7)
As of 2024-04-25 08:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found