I have just tried to pass the Math
I have just tried to pass the Math function II. in Functions I. I have realized that a verification procedure always asking for integer output from rand() even though they have not asked for it. Could you please help me out in order to pass this part? Here is my code below and the print screen.
your answer will be greatly appreciated.
<html> <?php // Use rand() to print a random number to the screen print round(rand(1,10)); ?> </p> <p> <?php // Use your knowledge of strlen(), substr(), and rand() to // print a random character from your name to the screen. $name = "radvanszki"; print substr($name, round(rand(0,strlen($name))-1), 1); ?> </p> </html>