Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Re: fetching rows problem

by cchampion (Curate)
on Feb 25, 2004 at 23:50 UTC ( #331871=note: print w/ replies, xml ) Need Help??

in reply to Re: fetching rows problem
in thread fetching rows problem

if you do it without the parens, you will get the number of elements in the array,

No. It doesn't work that way.

fetchrow_array in scalar context will return the first or the last field (See DBI specification change). Which one is currently undefined, but with a query that returns only one value the issue is irrelevant.

Comment on Re: Re: fetching rows problem

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (13)
As of 2015-11-30 17:57 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (778 votes), past polls