mickeymouse Posted July 16 Share Posted July 16 Strpos is supposed to give the character position of the first match and FALSE if no match is found. Why am I not getting the FALSE? $mypos = strpos($tbl, $newnum) The $newnum is not in the $tbl but my print("$mypos") result is nothing. What should I be testing for? if I test for 'FALSE' or for '', it doesn't work. I get a negative answer. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now