Functions, Part 1


#1


<?php 
// 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


#2

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?

#3

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