Suppose there is a url ex:
site.com/page.php?id=*ANTHING*
How do you check if *ANYTHING* is only string ( not composed of strings and integers ) or integer only.
Because, I used is_string() function to check it, but it only checks if the first letter is a string so
id=?cat435 and id=?catdasd will return the same result.
How can I make sure, if a value is then only a string or integer and not a combination of both
thanks