what method is used to generate a random number?

Answer Posted / lakhan lal

use rand() or mt_rand()

example:rand() or rand(20,30);

Is This Answer Correct ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a static method php?

518


What are static variables in php?

510


What are php string functions?

535


Which is faster for or foreach?

516


How to get ip address of clients machine?

564






What does a dependant variable mean?

566


What are session variables in php?

525


What is whitespace in html?

530


What is array and function?

536


Explain me difference between mysql_connect and mysql_pconnect?

557


How to Pass JSON Data in a URL using CURL in PHP?

568


Can php run on windows server?

530


How does php work?

539


A process is identified by a unique___

595


What is curl php?

533