$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";
In reply to Re: username and password verification from a table in Postgres
by tradez
in thread username and password verification from a table in Postgres
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |