in reply to •Re: username and password verification from a table in Postgres
in thread username and password verification from a table in Postgres
Why do you use the placeholder, and then suply the value in the same statement? Granted, I didn't even know this was possible, so I appriciate haveing seen it.
But why not just do?:
my $count = $dbh->selectrow_array("select count(*) from
users where userid = $username");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re(3): username and password verification from a table in Postgres
by VSarkiss (Monsignor) on May 22, 2002 at 18:41 UTC | |
|
Re: Re: •Re: username and password verification from a table in Postgres
by spq (Friar) on May 22, 2002 at 18:43 UTC |