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 are the two types of variables?

919


How can we change the maximum size of the files to be uploaded?

965


Explain me how to include a file to a php page?

915


Why overriding is called runtime polymorphism?

912


What is lamp in php?

900


How can you declare the array in php?

926


What does the function get_magic_quotes_gpc() means?

880


Why many companies are switching their current business language to php?

1051


How error handling is being handled by php?

998


Explain difference between urlencode and urldecode?

1033


Why do we use htaccess and where?

959


CWD is a type of shell variable. State Whether True or False?

1046


What are the encryption functions available in PHP?

1059


How to write comment in php?

1108


How do you parse and process html/xml in php?

959