On Wed, 8 Aug 2001, David Draley wrote:
> -
> my $sth = $dbh->prepare( "SELECT * FROM survey WHERE facil =
> '$species'" );
>
> $sth->execute();
>
> @rows = $sth->fetchrow_array();
>
>
> .
>
> @rows
>
You need to loop through your result set unti
Hi,
On Wed, 8 Aug 2001, David Draley wrote:
> I am writing a search script that will retrieve records from an MYSQL db. I
> have used an array to store the returned records, but I am having problems
> pushing the array into a hash table. So far, my search script only returns
> the first rec
w of the
# results one at a time
doSomethingWithTheResults()
}
Cheers
Mark C
> -Original Message-
> From: David Draley [mailto:[EMAIL PROTECTED]]
> Sent: 08 August 2001 14:28
> To: [EMAIL PROTECTED]
> Subject: PERL Array to hash table help
>
>
> hello -
&
At 01:27 PM 08/08/2001 +, David Draley wrote:
>hello -
>
>I am writing a search script that will retrieve records from an MYSQL db. I
>have used an array to store the returned records, but I am having problems
>pushing the array into a hash table. So far, my search script only returns
>th
David Draley <[EMAIL PROTECTED]> said something to this effect on 08/08/2001:
> hello -
>
> I am writing a search script that will retrieve records from an
> MYSQL db. I have used an array to store the returned records,
> but I am having problems pushing the array into a hash table.
> So far, my
hello -
I am writing a search script that will retrieve records from an MYSQL db. I
have used an array to store the returned records, but I am having problems
pushing the array into a hash table. So far, my search script only returns
the first record that matches the search criteria.
thanks