Código PHP:
print'
<form name="form" method="post" enctype="multipart/form-data">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2" class="titlemedium"><div align="center"><strong>Ingresar Numeros</strong></div></td>
</tr>
<tr>
<td width="48%" class="tdrow1"><strong>Numero</strong></td>
<td width="52%" class="tdrow2"><div align="left">
<input name="numero" type="text" class="textinput" id="numero" value="'.$post_numero.'">
</div></td>
</tr>
<tr>
<td class="tdrow1">Seleccione el Cliente</td>
<td class="tdrow2"><select name="cliente" onchange="this.form.submit();">';
while($row=mysql_fetch_assoc($sql_cli))
{
print '<option value="'.$row['cli_id'].'">'.$row['cli_nombres'].' '.$row['cli_apellidos'].'</option>';
}
print '
</select></td>
</tr>';
if(isset($_POST['cliente']) && $_POST['cliente'] != 0){
print $_POST['cliente'].'SUBMIT LISTO!'; //la idea aqui es poner un nuevo <tr>
}
print'
<td colspan="2" class="tdrow1"><div align="center">
<input type="submit" name="submit" value="Ingresar" id="button">
<input type="button" name="cancelar" value="Cancelar" onClick=\'history.go(-1);\'>
</div> </td>
</tr>
</table>
</form>
';