in reply to username and password verification from a table in Postgres
$query = qq(SELECT * FROM users WHERE userid = \'$username\'); $sth = $dbh->prepare($query); $sth->execute; if(($sth->fetchrow)[0]){ print "$userName is a valid user \n"; exit; } print "$userName is an invalid user \n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: username and password verification from a table in Postgres
by Anonymous Monk on May 22, 2002 at 17:18 UTC | |
by tradez (Pilgrim) on May 22, 2002 at 17:42 UTC |