- or download this
if(!$username){
relogin("Enter your username");
}elsif(!$password){
relogin("Enter your password");
}
- or download this
if (!$username or !$password) {
relogin('Username/Password pair not valid');
}
- or download this
my $sth = $dbh->prepare("SELECT * FROM info WHERE pword='$password'");
$sth->execute() or die "Couldnt do it: $!\n"
- or download this
my $sth = $dbh->prepare('SELECT * FROM info WHERE pword=?');
$sth->execute($password) or die "Couldnt do it: $!\n"