Page is a not externally linkable
- Code, Content, and Presentation
-- PHP Server Side Scripting
---- Search for value of a search criteria


andrewsmd - 9:33 pm on Sep 10, 2009 (gmt 0)


Note: the above code will return true if a user enters 0214 for the value 214 because it is checking their numerical values. If you want to check every digit exactly then convert them to strings i.e.
if($input === $tempNum){ //added and extra =


Thread source:: http://www.webmasterworld.com/php/3987509.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com