validations.php
//  and return true or false accordingly.
and return true or false accordingly.
and return true or false accordingly .
function is_unsign_number($number)
        {
                if(!preg_match("/^\+?[0-9]+$/",$number))
                        return false;
                return true;
        }
function is_unsign_number ( $ number ) { if ( ! preg_match ( " /^\+?[0-9]+$/ " , $ number ) ) return false ; return true ; }
and return true or false accordingly.
and return true or false accordingly .