Re: fetching rows from mysql

2002-04-11 Thread Ronald J Kimball
On Thu, Apr 11, 2002 at 01:58:16AM +, Matthew Harrison wrote: > > I am writing a login script using cookie and DBI to connect to a mysql > database and I need to run a query like: > > "SELECT username from users" > > and have it return all the usernames in preferably an array so I can do

Re: fetching rows from mysql

2002-04-10 Thread Philip Newton
On Thu, 11 Apr 2002 01:58:16 +, [EMAIL PROTECTED] (Matthew Harrison) wrote: > I am writing a login script using cookie and DBI to connect to a mysql > database and I need to run a query like: > > "SELECT username from users" > > and have it return all the usernames in preferably an array s

fetching rows from mysql

2002-04-10 Thread Matthew Harrison
I am writing a login script using cookie and DBI to connect to a mysql database and I need to run a query like: "SELECT username from users" and have it return all the usernames in preferably an array so I can do something like: foreach $names (@results){ if ($names eq $username){