me refiero a una tabla como esta:
q busque x id pero no la muestre
solo q muestre
Email |-------------Telefono |------Opcion |-----Seleccion |---Mensaje |---- Boton | Boton
[email protected] - nook------si/no/nose-----mensaje ----Modificar| Borrar
yo tnia una idea o un ejemplo...pero hay q modificarlo mejor
Código HTML:
<html> <body> <center>Modificar usuario</center> <?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]?>" /> email :<input type="text" name="email" value="<?php echo $row[5]?>" /><p> telefono:<input type="text" name="telefono" value="<?php echo $row[4]?>" /><p> opcion: <input type="checkbox" name="opc" value="ok"/>OK</input> <input type="checkbox" name="opc" value="nada" checked/>Nada</input> <p> <input type="text" name="opc" value="<?php echo $row[3]?>" /><p> seleccion: <input name="col" type="radio" value="si"/> si <input name="col" type="radio" value="no" checked/> no <input name="col" type="radio" value="nose"/> nose <p> <textarea name="seleccion" rows="3" cols="40"><?php echo $row[2]?></textarea><p> </tr> mensaje:<textarea name="mensaje" rows="3" cols="40"><?php echo $row[1]?></textarea><p> <input name="enviar" type="submit" value="Modificar"><p> </form> <a href="borrar.php?id=<?php echo $row[0]?>"><button>borrar</button></a><hr> <?php } ?> </body> </html>
Gracias de antemano
![Adios](http://static.forosdelweb.com/fdwtheme/images/smilies/adios.gif)