Ver Mensaje Individual
  #1 (permalink)  
Antiguo 08/10/2004, 13:25
fellargasi
 
Fecha de Ingreso: octubre-2004
Mensajes: 1
Antigüedad: 19 años, 6 meses
Puntos: 0
ayuda checkbocks con php

tengo una pagina de consultas donde quiero modificar registros pero quiero señalar la linea que quiero modificar con un checkbox y al presionar un boton que es una imagen en un enlace como hago esto.
podrian completar el codigo o decirme que debo hacer
consulta.php

<html>
<head>
<title>Untitled Document</title>
<charset=iso-8859-1">
</head>

<body>
<?php
$link = mysql_connect("localhost", "nobody");
mysql_select_db("designweb", $link);
$result = mysql_query("SELECT * FROM ventas", $link);
?>
<table width="143%" border="1">
<tr>
<td width="5%"><div align="center"><font size="1">SELECCION</font></div></td>
<td width="4%"><div align="center"><font size="1">NOMBRE</font></div></td>
<td width="6%"><div align="center"><font size="1">INSTITUCION</font></div></td>
<td width="9%"><div align="center"><font size="1">DIRECCION</font></div></td>
</tr>
<?php

while($row = mysql_fetch_array($result))
{
printf("
<td><INPUT TYPE='text' NAME='nombre' SIZE='20' MAXLENGTH='30' value='%s'></td>
<td> <INPUT TYPE='text' NAME='institucion' SIZE='15' MAXLENGTH='30' value='%s'> </td>
</tr>" ,$row["nombre"],$row["institucion"]);
}
mysql_free_result($result);
?>