jk11uk Posted April 23, 2008 Share Posted April 23, 2008 Hi i need to check a string and find out if it is just a number or if there is text there as well thanks! Link to comment https://forums.phpfreaks.com/topic/102467-number-or-text/ Share on other sites More sharing options...
discomatt Posted April 23, 2008 Share Posted April 23, 2008 if ( is_numeric($mixed) ) echo '$mixed is numeric'; Link to comment https://forums.phpfreaks.com/topic/102467-number-or-text/#findComment-524730 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.