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

Tell me what is the importance of "action" attribute in a html form?

518


Explain what are psrs? Choose 1 and briefly describe it?

499


What is action hooks and filter hooks?

484


What is an anti csrf token?

490


What is a stored procedure in mysql?

516






What are sql injections, how do you prevent them and what are the best practices?

489


Can we set session value in javascript?

513


What is mvc? Why its been used?

497


What is the default session out time?

535


What is php full form?

545


What is a model in php?

523


Where is session id stored?

506


How to create a table using php?

522


How should a model be structured in mvc?

516


How can I display text with a php script?

465