![Afirmando](http://static.forosdelweb.com/fdwtheme/images/smilies/afirmar.gif)
necesito imprimir una lista de unos clientes, despues de imprimirla cada cliene tendra un list donde eligiran su contrato de un servicio, ya se DIA, SEMANA, MES y despues al pulsar registrar estos datos seran guardados en su contratacion
tabla que imprimo
- ID - CLIENTE - Email -Password - Contrato- MONTO-REGISTRAR
- 1 - Usuario1- [email protected] - tresdas - (list)Dia - 23 - Boton
asi imprimo mi lista
Código PHP:
<?php
#mi conexion
include("php/bdd.php");
$result= mysql_query("select * from usuarios");
?>
<form id="form1" name="form1" method="post" action="ok.php">
<table id="t_uno">
<thead>
<tr bgcolor="#0099FF">
<th>ID</th>
<th>CLIENTE</th>
<th>Email</th>
<th>Password</th>
<th>Contrato</th>
<th>MONTO</th>
<th>REGISTRAR</th>
</tr>
</thead>
<tbody>
<?php
while($row = mysql_fetch_array($result))
{
echo "<tr bgcolor='#E0F2F7' align='center'>";
echo "<td>" . $row['ID'] . "</td>";
echo "<td name='nom' id='nom' align='left'>" . $row['Nombre'] . "</td>";
echo "<td>" . $row['Email'] . "</td>";
echo "<td>" . $row['Password'] . "</td>";
echo "<td>".
"<select name='tiempo' id='tiempo'>
<option>Dia</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>Semana</option>
<option>Quincena</option>
<option>Mes</option>
</select>".
"</td>";
echo "<td>".'<input type="text" name="monto" id="monto" onkeypress="return validar2(event)" />'."</td>";
echo "<td>".'<input type="submit" id="boton" value="Registrar" class="xy"/>'. "</td>";
echo "</tr>";
}
?>
</tbody>
</table>
</form>
</div>
ya que al imprimir el boton dentro del while, al pulsar los el boton de registro de cualquier usuario me manda el registro de todos, y yo quiero enviar especificamente la informacion del registro que pulso el boton