N/APosted on - 04/12/2012
How to display odd even number without using submit button using PHP?
It is possible?
Display odd even number without submit button PHP
I didn't get exactly what you want to do. If you just want to display it in a form then take a look at this sample:
for($i = 0;$i<99;$i++)
$var = rand(1,100); // take random seed and decide whether it is odd of even
if($var % 2 == 0) // check if even
echo $var." is Evenn"; // simply display even number in the browser
else // must be odd
echo $var. " is Oddn"; // simply display odd number in the browser
I hope it helped.