RyanFTW
20-01-2008, 10:14 PM
$badnames = array('bob', 'jim', 'sam');
if($username == $badnames){
echo("That username is unavailable!<br><br>");
}
How can i make it check if $username is equal to any of the words in $badnames?
Moved by H0BJ0B (Forum Moderator) from Designing & Development: Please post in the correct forum next time, thanks http://habboxforum.com/images/smilies/smile.gif.
if($username == $badnames){
echo("That username is unavailable!<br><br>");
}
How can i make it check if $username is equal to any of the words in $badnames?
Moved by H0BJ0B (Forum Moderator) from Designing & Development: Please post in the correct forum next time, thanks http://habboxforum.com/images/smilies/smile.gif.