smc Posted March 4, 2007 Share Posted March 4, 2007 Hello everyone, Basically I'm trying to disallow users from creating a username that has "admin" in it. I thought about using explode but after that I'm not sure about how to search the array and see if it's in there. Any help would be greatly appreciated! Link to comment https://forums.phpfreaks.com/topic/41074-solved-searching-the-words-in-a-string/ Share on other sites More sharing options...
fert Posted March 4, 2007 Share Posted March 4, 2007 http://us3.php.net/manual/en/function.strstr.php Link to comment https://forums.phpfreaks.com/topic/41074-solved-searching-the-words-in-a-string/#findComment-198911 Share on other sites More sharing options...
smc Posted March 4, 2007 Author Share Posted March 4, 2007 Perfect! Thanks!! Link to comment https://forums.phpfreaks.com/topic/41074-solved-searching-the-words-in-a-string/#findComment-198930 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.