knowram Posted December 19, 2006 Share Posted December 19, 2006 Is there a php function that will check to see if a variable consists of either a number or letter combination?thanks for the help Link to comment https://forums.phpfreaks.com/topic/31180-alpha-or-numeric/ Share on other sites More sharing options...
simcoweb Posted December 19, 2006 Share Posted December 19, 2006 Here's what you need:http://uk2.php.net/manual/en/function.gettype.php Link to comment https://forums.phpfreaks.com/topic/31180-alpha-or-numeric/#findComment-144097 Share on other sites More sharing options...
utexas_pjm Posted December 19, 2006 Share Posted December 19, 2006 http://www.php.net/is_numeric Link to comment https://forums.phpfreaks.com/topic/31180-alpha-or-numeric/#findComment-144098 Share on other sites More sharing options...
doni49 Posted December 19, 2006 Share Posted December 19, 2006 Do you mean see if it's a combination of letters and numbers? As in validate to see if it' meets your PW and/or username requirements? If that's what you mean, have a look at www.php.net/ereg and www.php.net/eregi. Otherwise the is_numeric function to which you were given a link will help. Link to comment https://forums.phpfreaks.com/topic/31180-alpha-or-numeric/#findComment-144210 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.