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 can cross site request forgery csrf be prevented?
What is mvc in php?
what are the differents between 'action' and 'target' in form tag?
Who is known as the father of php?
how to upload more than 50 mb? i tried but session was expired....certain time .....i was set session duration three days .... how to rectified? if any one know that post ur answer as soon as possible?already i was increase php.ini but not working......
Name some of the popular frameworks in php.
What is regular expression in javascript?
What is difference between session and cookie in PHP?
What are sql functions?
Tell me how do I check if a given variable is empty?
Do I need apache for php?
I finished my degree 4 years back. I didnt get job in software. In the time(for 4 years) i worked one kpo industries. but now i got job in php(40 employes working there) as fresher(Salary 8000). Shall i join in php. I have no knowledge about php. Can i do well in php. How will my carrier if i join in php? Please can you give your idea.? It will be more usefull to me.