in reply to DBI & MySQL Login Test

swordfish:

You've already received a mess of good answers, so I won't belabor those points. I'm just going to offer a suggestion: Specifically, don't use '*' as a column list for a SELECT statement. It'll bite you more often than it will help you. The problems are:

Generally, request what you need, and only what you need.

...roboticus