On Tue, 11 Jun 2002, A Taylor wrote: <snip> > > $rank = $sth1->fetchrow_array(); > > Now, my question is this: is this the right way to retreive just 1 record, > using fetchrow_array(); ??? or is there a more acceptable way. This does > work, its just the 'array()' part is making me a little uneasy. >
from DBI's exhaustive perldoc: "In a scalar context, fetchrow_array returns the value of the first field." Chris -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]