Código:
Aqui yo quiero mandar todos los campocodigo q seleccione con el checkbox algo asi como se hace para eliminar mensajes en el msn se selecciona y borra...<?php $sql = "select * from mitabla"; $resul = mysql_query($sql, $conexion); $num = mysql_num_rows($resul); echo "<table border='1'>"; for($n=1;$n<=$num; $n++) { if ($num > 0) { $fila=mysql_fetch_array($resul); echo "<tr>"; echo "<td><input type='checkbox' name='checkbox' id='checkbox' /></td><td>".$fila['campocodigo']."</td>"; echo "</tr>"; } } echo "</table>"; ?>
Alguien puede orientarme como sería....