![sonrisota](http://static.forosdelweb.com/fdwtheme/images/smilies/xD.png)
Este es mi codigo PHP
Código PHP:
Ver original
<html> <body bgcolor="#C5E1EF"> <link rel="stylesheet" href="estilo.css" </body> </html> <?php include ("conexion.php"); $sql="select*from registro"; echo "<center><table><td class='tta'>Nombre</td><td class='tta'>Apellido</td><td class='tta'>Cedula</td><td class='tta'>Imagen</td><td class='tta' colspan='2'>Opciones</td>"; $num_fila=0; { $id=$row['id']; $n=$row['nombre']; $a=$row['apellido']; $c=$row['cedula']; $destino=$row['imagen']; if ($num_fila%2==0) { echo "<tr><td class='ttaa'>$n</td><td class='ttaa'>$a</td><td class='ttaa'>$c</td><td><img src='$destino' class='reto'></td><form action='modificar-u.php' method='post'><td><input type='image' src='imagen/edit_256.png' class='bot'><input type='hidden' name='?' value='?'></td></form><form action='eliminar.php' method='post'><td><input type='image' src='imagen/1211766717.png' class='bott'><input type='hidden' name='idd' value='$id'></td></form></tr>"; } else { echo "<tr><td class='taaa'>$n</td><td class='taaa'>$a</td><td class='taaa'>$c</td><td><img src='$destino'class='reto'></td><form action='modificar-u.php' method='post'><td><input type='image' src='imagen/edit_256.png' class='bot'><input type='hidden' name='?' value='?'> </td></form><form action='eliminar.php' method='post'><td><input type='image' src='imagen/1211766717.png' class='bott'><input type='hidden' name='idd' value='$id'></td></form></tr>"; $num_fila++; } } ?> <html> <td colspan="4" align="center" class=''><input type="button" value="Insertar" onclick="location='formulario.php'"></td> </table> </html>