<html>
<body bgcolor="#fad888">
<form>
<textarea width="100%" growable autoactivate name="input"><?
$input = $_REQUEST[input];
$num = $_REQUEST[num];
if ( isset($input) && !empty($input) )
{
$input = str_repeat($input, $num);
$input = stripslashes($input);
echo "$input"; }
else { echo ""; }
?></textarea>
<center>
Repeat <input type="text" cols="5" name="num" /> times.
<input type="submit" />
</center>
</form>
</body>
</html>