Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what method is used to generate a random number?

Answer Posted / mahidhar

using rand() function we generate the random numbers.

example : $num="12345678";
$result=rand($num);

the $result gives the random numbers.

Is This Answer Correct ?    7 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Tell us how to set cookies in php?

976


What is purpose of @ in Php?

1133


What is framework in php for beginners?

1027


What are the file upload settings in configuration file?

1089


How does php sessions work?

989


Explain me what are the 3 scope levels available in php and how would you define them?

1266


How to access a Static Member of a Class in PHP?

1080


What is the current php version?

1143


Explain $_FILES Superglobal Array?

1100


What are access specifiers?

1067


How can we enable error reporting in php?

1088


What is the use of final class in php?

974


for image work which library?

1020


What does the unlink() function means?

1176


What are the rules to determine the “truth” of any value which is not already of the boolean type?

988