$small_caps_title;
$uc_play_title = strtoupper($play_title);
$play_words = explode(" ", $uc_play_title);
foreach ($play_words as &$word) {
$word_buff = str_split($word);
$new_word = $word_buff[0] . "";
$length = count($word_buff);
$length--;
for ($i = 1; $i <= $length; $i++) {
$new_word .= $word_buff[$i];
}
$new_word .= " ";
$small_caps_title .= $new_word;
}
echo "
$small_caps_title
";
echo "by $author_name
";
echo "Produced by $producer,
$opening_date.
";
echo "Directed by $director
";
// Originally designed to accommodate portrait oriented posters, so we need to add some
// padding for this show (short title, short company, short author).
echo "\n
\n
";
?>