Functions, Part 1


// Use your knowledge of strlen(), substr(), and rand() to 
// print a random character from your name to the screen. 
$name = "Maqueen"; 
$max = strlen($name); 
print " Max =$max"; 
$min = 0; 
$r = rand($min, $max); 
print "Random = $r"; $parti


We do not have enough information to go on, here. Please post,

  1. A link to the exercise
  2. Your complete code, including the HTML
  3. Your question... Lesson? Instructions? Concepts?


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.