Wednesday, January 4, 2017

Parse Integers in PHP

Ensure only integers are entered into forms with intval()

http://php.net/manual/en/function.intval.php

intval (-42) = 42

No comments:

Post a Comment