bahaa Posted May 10, 2012 Share Posted May 10, 2012 Hi, how to we use the filter_input(INPUT_POST, '', FILTER_VALIDATE_INT) to validate zero as int ? I always get false when i try to use the filter on an input that has a value of zero. Bahaa, Link to comment Share on other sites More sharing options...
Edward Posted May 10, 2012 Share Posted May 10, 2012 Read this: http://www.cleancode.co.nz/blog/664/filter_validate_int-0 1 Link to comment Share on other sites More sharing options...
bahaa Posted May 10, 2012 Author Share Posted May 10, 2012 Thanks Edward Link to comment Share on other sites More sharing options...
Recommended Posts