You can modify the code to work how you want, you might get a
red exclamation mark in your server behaviors panel, but the code
will work on the server. try using this code in place of your
query. This examples needs a coulmn named dcc_active in your db,
change to what ever your is named.
mysql_select_db($database_con_dcc, $con_dcc);
$active_UserValue = 0; // Use 1 if that equals an active user
$query_rsLogin = sprintf("SELECT dcc_user, dcc_password FROM
dcc_users WHERE dcc_user= '%s' AND dcc_password = '%s' AND
dcc_active = '%s'",
$myUsername_rsLogin,$myPassword_rsLogin,$active_UserValue);