Re: Need help with an error

2001-11-16 Thread Etienne Marcotte
::UsrPass? > > -Original Message- > From: Etienne Marcotte > To: Gibbs Tanton - tgibbs > Cc: '[EMAIL PROTECTED] ' > Sent: 11/16/2001 12:10 PM > Subject: Re: Need help with an error > > sub auth_user{ > my ($dbh,$user,$pass) = @_; > my $sth = $dbh-

RE: Need help with an error

2001-11-16 Thread Gibbs Tanton - tgibbs
I was looking more for something like $UsrPass = <>; or something like that...where do you assign to the variable IN::UsrPass? -Original Message- From: Etienne Marcotte To: Gibbs Tanton - tgibbs Cc: '[EMAIL PROTECTED] ' Sent: 11/16/2001 12:10 PM Subject: Re: Need he

Re: Need help with an error

2001-11-16 Thread Etienne Marcotte
sub auth_user{ my ($dbh,$user,$pass) = @_; my $sth = $dbh->prepare("SELECT usrID, usrPass, usrDjID, usrAcc from users where usrNick like ?"); $sth->execute($user); my ($dbid, $dbpass, $dbusrid, $dbacc) = $sth->fetchrow_array; $sth->finish; ($pass eq $dbpass) ? return ($dbid, $dbusrid, $dbacc) : re

RE: Need help with an error

2001-11-16 Thread Gibbs Tanton - tgibbs
I guess the major question is does IN::UsrPass ever get anything assigned to it? I see where you pass it in, but where does it get assigned? -Original Message- From: Etienne Marcotte To: [EMAIL PROTECTED] Sent: 11/16/2001 11:56 AM Subject: Need help with an error [Fri Nov 16 12:37:44 2