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

What is the difference between get & post ?

1099


How to set a value in session? How to remove data from a session?

991


What is use of count() function in php?

1032


How the result set of mysql be handled in php?

1117


What is php in full?

940


Explain type casting and type juggling.

1029


What is difference between static and constant in php?

999


How to get number of days between two given dates using PHP?

899


Explain the purpose of output buffering in php.

992


How do I run a php program in dreamweaver?

1067


Which one is best framework for php?

984


What are the functions to be used to get the image's properties (size, width and height)?

990


So if md5() generates the most secure hash, why would you ever use the less secure crc32() and sha1()?

1046


Can we set session value in javascript?

1053


How can we automatically escape incoming data?

985