Ver Mensaje Individual
  #6 (permalink)  
Antiguo 02/08/2011, 10:36
thedarking
 
Fecha de Ingreso: julio-2011
Ubicación: Argentina
Mensajes: 38
Antigüedad: 13 años, 8 meses
Puntos: 0
Pregunta Respuesta: Formulario bastante complejo

fua q rapido responden.
Lo he cambiado...anteriormente habia dicho q lo necesitaba en una tabla
ahora tngo esto :
Código PHP:
<html>
<body>
<?php
include"conexion.php";
$id=$_POST['id'];
$result=mysql_query("select * from clientesl2",$conexion);
while (
$row=mysql_fetch_array($result)) {
?>
<form name="clientesl2" action="action-actualizar.php" method="POST">
<input type="hidden" name="id" value="<?php echo $row[0]?>" />

<TABLE BORDER="0" align="center">
<TR><tbody><thead><tfoot>
   <TH>E-Mail:</TH>
   <TH>Tel&eacute;fono:</TH>
   <TH>Opci&oacute;n:</TH>   
   <TH>Selecci&oacute;n</TH>   
   <TH>Mensaje:</TH>
</TR>
<TR>
   <TD><?php echo $row[5]?></TD>
   <TD><?php echo $row[4]?></TD>
   <TD><?php echo $row[3]?></TD>
   <TD><?php echo $row[2]?></TD>
   <TD><?php echo $row[1]?></TD>
</tfoot></thead></tbody></TR>
</TABLE>
<a href="borrar.php?id=<?php echo $row[0]?>"><button>borrar</button></a><hr>


</body>
</html>

<?php
}
?>
Tengo que modificar eso

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------


otra cosa el boton borrar me anda mal cuando borro borra todo pero en la seccion telefono keda en 0 y no se puede borrar...me refiero a cuando borro un registro existente borra todo excepto "telefono" ke keda en 0 manteniendo la id

Cita:
E-Mail: Teléfono: Opción: Selección Mensaje:
____________0
es lo ke mqueda mal y no modifica

Última edición por thedarking; 02/08/2011 a las 10:49 Razón: no kiero hacer miles de post, sino modificar asi no m banean ni m suspenden xd