21 lines
302 B
PHP
21 lines
302 B
PHP
|
<?php
|
||
|
|
||
|
/*
|
||
|
* Nibbleblog -
|
||
|
* http://www.nibbleblog.com
|
||
|
* Author Diego Najar
|
||
|
|
||
|
* All Nibbleblog code is released under the GNU General Public License.
|
||
|
* See COPYRIGHT.txt and LICENSE.txt.
|
||
|
*/
|
||
|
|
||
|
class Number {
|
||
|
|
||
|
public static function random_number($min, $max)
|
||
|
{
|
||
|
return( rand($min, $max) );
|
||
|
}
|
||
|
}
|
||
|
|
||
|
?>
|