In section 5 of Functions 1, I'm supposed to be printing a random character from my name using the commands strlen, rand, and substr.
I created a variable that I thought would do that, but it isn't printing anything in the program. No error message though.
I read back through the entire Functions 1 lesson and it is really twisting my brain into a puddle. The hints aren't helpful either.
Thanks for any suggestion/explanation.
$partial=substr($name, rand(0,8), 0);