not necesarily i was only providing an example of how it could be done
There is something to take into account
1) Do you have register_globals on or off and
If you have it on the you can use
SELECT count(id) from biohazard_users where username = '$username';
however if it is switched OFF the it's be
SELECT count(id) from biohazard_users where username = '$HTTP_POST_VARS[username];
HTH
GM