|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: •Re: username and password verification from a table in Postgresby spq (Friar) |
| on May 22, 2002 at 18:30 UTC ( #168542=note: print w/ replies, xml ) | Need Help?? |
|
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");
Thanks, Sean
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||