Here's a crude example based on their stuff. They just use css to format the table.
<?php
if(isset($_POST['sub'])) {
/* Form was submitted, validate input
and create the table
*/
$qty = empty($_POST['quantity']) ? 0 :$_POST['quantity'];
$one = empty($_POST['line1']) ? " " : $_POST['line1'];
$two = empty($_POST['line2']) ? " " : $_POST['line2'];
?>
<h1>Your label</h1>
<table>
<tr>
<td valign="top"><?php echo $qty ?></td>
<td height="40"><?php echo $one; ?>
<br /><?php echo $two; ?></td>
</tr>
</table>
<?php
}
else {
/* Show Form */
?>
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post">
<p>Label :<select name="quantity">
<option value="0">Qty</option>
<option value="50">50</option>
<option value="100">100</option>
<option value="150">150</option>
</select>
</p>
<p>Line 1: <input type="text name="line1" />
<br />Line 2: <input type="text name="line2" />
</p>
<p><input type="submit"></p>
</form>
<?php
}
?>