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! Quote Link to comment 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'; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.