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 to uploade video in php????
1.What is application server ? 2.What is web server ? 3.Explain the process of execution of a php file ?
Why php is better?
What are the string functions in php?
Where is my php ini file?
Can we override static method?
if you run the app program all vendor open items are cleared but is it possible to reverse the again again open items please tell me the answer
What does it mean when it says the csrf token is invalid?
What is purpose of @ in Php?
How to include variables in double-quoted strings?
What is the difference between include and require?
How can we encrypt the username and password using PHP?
13 Answers Avaria, HCL, TCS, Xpert,