View file functions.php
<?php function valid_number($number) { $number=trim($number); if ($number=='') {$valid=0; return $valid; } if (!preg_match('/^[\d]+$/iu', $number)) {$valid=0; return $valid; } return $number; } ?>
<?php function valid_number($number) { $number=trim($number); if ($number=='') {$valid=0; return $valid; } if (!preg_match('/^[\d]+$/iu', $number)) {$valid=0; return $valid; } return $number; } ?>