Can someone make this so it will check from the datbase then$sth = $dbh->prepare("SELECT username FROM users"); $sth->execute; while ( $users = $sth->fetchrow_array ) { if (param("username") =~ /$users/) { error("Username already exists, please make a different one"); } }
In reply to Re: Re: Re: Re: /i regex modifier
by Anonymous Monk
in thread /i regex modifier
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |