Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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.

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 cooling their heels in the Monastery: (10)
As of 2016-10-20 20:25 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (281 votes). Check out past polls.