what method is used to generate a random number?
Answers were Sorted based on User's Feedback
Answer / lakhan lal
use rand() or mt_rand()
example:rand() or rand(20,30);
| Is This Answer Correct ? | 7 Yes | 1 No |
Answer / 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 |
Answer / senthilkumar g
using srand();
it will generate the randam numbers
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / sunil kumar
<?php
echo(4,900);//depend upon ur choice
?>
| Is This Answer Correct ? | 0 Yes | 0 No |
How is it possible to parse a configuration file?
What is meant by PEAR in PHP?
In forms when i am click submit button it will store on the desired table as well as it send to paticuler mail id. Any body know the answer plz give me detail information.
What library is used for pdf in php?
How to upload file in php?
What does nan stand for computer science?
What is a model in php?
What is the different between count() and sizeof() in php?
What language is php based on?
What are the main error types in php?
How to select a database?
Explain what are the two main string operators?