$max) $max = $height; } echo $max * strlen($word); //print_r($h);