Write a php code which could be used to generate random
numbers between 1 - 100 and display them on the screen.

Answer Posted / laxmikant

echo rand(1,100);

Is This Answer Correct ?    29 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Who is known as the father of php?

647


What's the best method for sanitizing user input with php?

560


Which php global variable is used for uploading a file?

603


What are include() and require() functions?

592


Why triggers are used in mysql?

601






Tell me what is htaccess?

562


What is mysqli_query?

585


Starting or restarting a computer is called

695


Tell me what is the difference between get and post?

551


What is ci framework in php?

589


what is constructor

1218


Swap two variables value without using third variable in php ?

692


How many types of arrays are there in php?

606


Explain PHP?

691


How do I repair phpmyadmin?

602