well, see, this is what im trying to do. its a user register system and im using this if statement to check the username for various tihngs:
<? if ($reg_username == "" || $usr_numrows > 0 || !eregi("^[a-z0-9_]+$",$reg_username)) { echo "error"; } else { echo "process"; } ?>
in this example of my code, i've just added a "!" infront of eregi but it hasnt seemed to work. whats the correct way to check what im trying to do here? any suggestions?