Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://331871]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2016-12-09 00:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (148 votes). Check out past polls.