in reply to Re: mySQL with Perl
in thread mySQL with Perl

select count(*) from user_table where username = $username

is simpler if you ask me ... that way you only return a number instead of matching some kind of string or checking to see how many rows you've got.

-mr.dunstan